You can access manufacturer companies and services in an Uphance account using these API calls.
GET all the manufacturer companies
Retrieve all manufacturer companies.
$ curl https://api.uphance.com/manufacturers \
-H "Authorization: ACCESS_TOKEN"
Example response:
{
"companies": [
{
"id": 59575,
"name": "&CO WOMAN",
"country": "US",
"city": "New York"
},
{
"id": 59410,
"name": "GarmentExpo",
"country": "IN",
"city": "Bangalore"
},
{
"id": 59456,
"name": "Jewellery Makers",
"country": "BE",
"city": "Brusells"
},
{
"id": 59591,
"name": "Lotus Eaters",
"country": null,
"city": null
},
]
}
GET all manufacturer services
Retrieve all manufacturer services
$ curl https://api.uphance.com/manufacturer_services \
-H "Authorization: ACCESS_TOKEN"
Example response
{
"manufacturer_services": [
{
"id": 137,
"name": "Cutting",
"price": "11.0",
"currency": "AUD",
"company_id": 59576
},
{
"id": 114,
"name": "Packing",
"price": "14.0",
"currency": "USD",
"company_id": 60141
},
{
"id": 99,
"name": "Sewing",
"price": "50.0",
"currency": "GBP",
"company_id": 60141
}
]
}