Edit Category

PUT /self/{shopId}/categories/{categoryId}

Path parameters

  • shopId integer(int32) Required
  • categoryId integer(int64) Required

Body

  • name string Required

    Minimum length is 1.

  • listingIds array[integer(int64)] Required

Body

  • name string Required

    Minimum length is 1.

  • listingIds array[integer(int64)] Required

Body

  • name string Required

    Minimum length is 1.

  • listingIds array[integer(int64)] Required

Responses

  • 200

    Category edited

PUT /self/{shopId}/categories/{categoryId}
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/categories/{categoryId}' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"name":"string","listingIds":[42]}'
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/categories/{categoryId}' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/categories/{categoryId}' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/*+json"
Request examples
{
  "name": "string",
  "listingIds": [
    42
  ]
}
Request examples
{
  "name": "string",
  "listingIds": [
    42
  ]
}
Request examples
{
  "name": "string",
  "listingIds": [
    42
  ]
}