Body

Body

Body

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