PUT /self/{shopId}/products/bulk/update/visibility

PUT /self/{shopId}/products/bulk/update/visibility

Path parameters

  • shopId integer(int32) Required

Body

  • productIds array[integer(int64)] | null
  • unlisted boolean
  • private boolean
  • onHold boolean

Body

  • productIds array[integer(int64)] | null
  • unlisted boolean
  • private boolean
  • onHold boolean

Body

  • productIds array[integer(int64)] | null
  • unlisted boolean
  • private boolean
  • onHold boolean

Responses

  • 200

    Success

PUT /self/{shopId}/products/bulk/update/visibility
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/products/bulk/update/visibility' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"productIds":[42],"unlisted":true,"private":true,"onHold":true}'
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/products/bulk/update/visibility' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/products/bulk/update/visibility' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/*+json"
Request examples
{
  "productIds": [
    42
  ],
  "unlisted": true,
  "private": true,
  "onHold": true
}
Request examples
{
  "productIds": [
    42
  ],
  "unlisted": true,
  "private": true,
  "onHold": true
}
Request examples
{
  "productIds": [
    42
  ],
  "unlisted": true,
  "private": true,
  "onHold": true
}