PATCH
/
api
/
v2
/
platform
/
shipping_categories
/
{id}
curl --request PATCH \
  --url http://{defaultHost}/api/v2/platform/shipping_categories/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "shipping_category": {
    "name": "Another Category"
  }
}'
{
  "data": {
    "id": "141",
    "type": "shipping_category",
    "attributes": {
      "name": "Default",
      "created_at": "2022-11-08T19:35:22.647Z",
      "updated_at": "2022-11-08T19:35:22.876Z"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
shipping_category
object
required

Response

200
application/vnd.api+json
Record updated
data
object
required