docs
  1. Admin Api
  2. Resources
  3. Stock
  4. Set Sellable Without Stock

Set sellable without stock

Manage sellableWithoutStock for a given variant

Rate Limit: 2500 Max attempts within 1 minute.

Path Parameters

ParameterDetails
variantIdentifier
  • required
string
Examples:
  • ^[1-9][0-9]*$
  • ^key%3D[a-zA-Z0-9-_%\+\. ]*$

Request body

required
ParameterDetails
warehouseReferenceKey
  • required
  • MinLength: 1
string
Example:
DefaultWarehouse
sellableWithoutStock
  • required
boolean
Example:
true
merchantReferenceKey
string

Responses

200
Sellable without stock information was successfully set for variant.
application/json
Success
warehouseReferenceKeyrequired
string
Example:
DefaultWarehouse
sellableWithoutStockrequired
boolean
Example:
true
merchantReferenceKey
string
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
PUT/variants/{variantIdentifier}/stocks/sellableWithoutStock

Request samples

Response samples

200
Sellable without stock:
Content type: application/json
Provide Feedback