PUT /external/api/categories

PUT /external/api/categories

Body

  • id string Required

    Minimum length is 1.

  • handle string | null
  • title string | null
  • storeId string | null
  • sortIndex integer(int32) | null
  • products array[object] | null
    Hide products attributes Show products attributes object
    • id string Required

      Minimum length is 1.

    • sortIndex integer(int32) | null
    • Additional properties are NOT allowed
  • Additional properties are NOT allowed

Body

  • id string Required

    Minimum length is 1.

  • handle string | null
  • title string | null
  • storeId string | null
  • sortIndex integer(int32) | null
  • products array[object] | null
    Hide products attributes Show products attributes object
    • id string Required

      Minimum length is 1.

    • sortIndex integer(int32) | null
    • Additional properties are NOT allowed
  • Additional properties are NOT allowed

Body

  • id string Required

    Minimum length is 1.

  • handle string | null
  • title string | null
  • storeId string | null
  • sortIndex integer(int32) | null
  • products array[object] | null
    Hide products attributes Show products attributes object
    • id string Required

      Minimum length is 1.

    • sortIndex integer(int32) | null
    • Additional properties are NOT allowed
  • Additional properties are NOT allowed

Responses

  • 200

    Success

PUT /external/api/categories
curl \
 --request PUT 'https://demo.api.fygi.store/external/api/categories' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '[{"id":"string","handle":"string","title":"string","storeId":"string","sortIndex":42,"products":[{"id":"string","sortIndex":42}]}]'
curl \
 --request PUT 'https://demo.api.fygi.store/external/api/categories' \
 --header "authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request PUT 'https://demo.api.fygi.store/external/api/categories' \
 --header "authorization: $API_KEY" \
 --header "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
      }
    ]
  }
]