Body
-
Minimum length is
1
.
curl \
--request PATCH 'http://test.api.fygi.store/external/api/categories' \
--header "authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '[{"id":"string","handle":{"value":"string"},"title":{"value":"string"},"storeId":{"value":"string"},"sortIndex":{"value":42},"products":{"value":[{"id":"string","sortIndex":42}]}}]'
curl \
--request PATCH 'http://test.api.fygi.store/external/api/categories' \
--header "authorization: $API_KEY" \
--header "Content-Type: text/json"
curl \
--request PATCH 'http://test.api.fygi.store/external/api/categories' \
--header "authorization: $API_KEY" \
--header "Content-Type: application/*+json"
[
{
"id": "string",
"handle": {
"value": "string"
},
"title": {
"value": "string"
},
"storeId": {
"value": "string"
},
"sortIndex": {
"value": 42
},
"products": {
"value": [
{
"id": "string",
"sortIndex": 42
}
]
}
}
]
[
{
"id": "string",
"handle": {
"value": "string"
},
"title": {
"value": "string"
},
"storeId": {
"value": "string"
},
"sortIndex": {
"value": 42
},
"products": {
"value": [
{
"id": "string",
"sortIndex": 42
}
]
}
}
]
[
{
"id": "string",
"handle": {
"value": "string"
},
"title": {
"value": "string"
},
"storeId": {
"value": "string"
},
"sortIndex": {
"value": 42
},
"products": {
"value": [
{
"id": "string",
"sortIndex": 42
}
]
}
}
]