cURL
curl --request POST \ --url http://{defaultHost}/api/v2/platform/shipping_categories \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "shipping_category": { "name": "Another Category" } }'
{ "data": { "id": "138", "type": "shipping_category", "attributes": { "name": "ShippingCategory 138", "created_at": "2022-11-08T19:35:21.863Z", "updated_at": "2022-11-08T19:35:21.863Z" } } }
Creates a Shipping Category
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Record created
The response is of type object.
object
Was this page helpful?