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": "<string>",
"type": "<string>",
"attributes": {},
"relationships": {}
}
}Updates a Shipping Category
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": "<string>",
"type": "<string>",
"attributes": {},
"relationships": {}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?