POST
/
api
/
v2
/
platform
/
shipping_categories
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"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
shipping_category
object
required

Response

201
application/vnd.api+json
Record created
data
object
required