shipping_categories
Create a shipping category
Changed onCreate a shipping category
post/shipping_categories
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/shipping_categories
- AuthHTTP bearer
Request body
Example request
{
"data": {
"attributes": {
"name": "Merchandise",
"code": "europe1",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
}
}
}Response
The created shipping category object
Changes
- breaking
request property
/was restricted to a list of enum values - info
added the new optional request property
// - info
the
request property default valueshipping_categorieswas removed - info
added the new
shipping_categoriesenum value to the request property/ - info
added the media type
application/vnd.api+jsonfor the response with the status
- breaking