docs
  1. Admin Api
  2. Resources
  3. Warehouses
  4. Update Warehouse Priority

Update warehouse priority

Update an existing shop country warehouse relation

Rate Limit: 300 Max attempts within 1 minute.

Path Parameters

ParameterDetails
shopKey
  • required
string
Example:
ms
countryCode
  • required
string
Example:
de
warehouseIdentifier
  • required
string
Examples:
  • ^[1-9][0-9]*$
  • ^key%3D[a-zA-Z0-9-_%\+\. ]*$

Request body

required
ParameterDetails
id
  • readonly
integer
Example:
1
referenceKey
  • required
string
Example:
my-warehouse
priority
  • nullable
integer
Example:
100
packageGroup
  • required
  • nullable
object
id
integer
  • nullable
Example:
1

Responses

200
Shop warehouse was successfully updated.
application/json
Success
id
integer
Example:
1
referenceKeyrequired
string
Example:
my-warehouse
priority
integer
Example:
100
object
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
PUT/shops/{shopKey}/countries/{countryCode}/warehouses/{warehouseIdentifier}

Request samples

Response samples

200
Shop Warehouse:
Content type: application/json
Provide Feedback