curl --request PUT \
--url https://api.skulabs.com/distributor/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"distributor_id": "507f1f77bcf86cd799439011",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"address": {
"street": "<string>",
"street_2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>"
},
"terms": "<string>",
"shipping": "<string>",
"memo": "<string>",
"notes": "<string>",
"location_id": "507f1f77bcf86cd799439011",
"feed_info": {
"feed_link": "<string>"
}
}
}
'{
"success": true
}Update an existing distributor’s information.
curl --request PUT \
--url https://api.skulabs.com/distributor/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"distributor_id": "507f1f77bcf86cd799439011",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"address": {
"street": "<string>",
"street_2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>",
"country": "<string>"
},
"terms": "<string>",
"shipping": "<string>",
"memo": "<string>",
"notes": "<string>",
"location_id": "507f1f77bcf86cd799439011",
"feed_info": {
"feed_link": "<string>"
}
}
}
'{
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Supplier data to update
Show child attributes
Supplier updated successfully
Whether the operation succeeded