Body

Body

Body

PUT /external/api/categories
curl \
 -X PUT http://test.api.fygi.store/external/api/categories \
 -H "authorization: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '[{"id":"string","handle":"string","title":"string","storeId":"string","sortIndex":42,"products":[{"id":"string","sortIndex":42}]}]'
curl \
 -X PUT http://test.api.fygi.store/external/api/categories \
 -H "authorization: $API_KEY" \
 -H "Content-Type: text/json"
curl \
 -X PUT http://test.api.fygi.store/external/api/categories \
 -H "authorization: $API_KEY" \
 -H "Content-Type: application/*+json"
Request examples
[
  {
    "id": "string",
    "handle": "string",
    "title": "string",
    "storeId": "string",
    "sortIndex": 42,
    "products": [
      {
        "id": "string",
        "sortIndex": 42
      }
    ]
  }
]
Request examples
[
  {
    "id": "string",
    "handle": "string",
    "title": "string",
    "storeId": "string",
    "sortIndex": 42,
    "products": [
      {
        "id": "string",
        "sortIndex": 42
      }
    ]
  }
]
Request examples
[
  {
    "id": "string",
    "handle": "string",
    "title": "string",
    "storeId": "string",
    "sortIndex": 42,
    "products": [
      {
        "id": "string",
        "sortIndex": 42
      }
    ]
  }
]