Distributor - Create
Changed onCreate a new distributor with contact details and address.
Request
- Base URLhttps://api.skulabs.com
- URLhttps://api.skulabs.com/distributor/create
- AuthHTTP bearer
Request body
Example request
{
"data": {
"name": "Acme Supplies",
"email": "contact@acme.com",
"warehouse_id": "507f1f77bcf86cd799439011",
"location_id": "507f1f77bcf86cd799439011"
}
}Response
Supplier created successfully
Example response
{
"_id": "507f1f77bcf86cd799439011"
}Changes
- breaking
added the new required request property
/ - breaking
the request property
became required - info
api operation id
post_distributor_createwas added - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- breaking
added required request body
- warning
deleted the
queryrequest parameterdata - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking