docs
  1. Admin Api
  2. Resources
  3. Package Groups
  4. Link Package Groups To Warehouse

Link package groups to warehouse

Attach a warehouse to a shop country

Rate Limit: 300 Max attempts within 1 minute.

Path Parameters

ParameterDetails
shopKey
  • required
string
Example:
ms
countryCode
  • required
string
Example:
de

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

201
Shop warehouse was successfully created.
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
POST/shops/{shopKey}/countries/{countryCode}/warehouses

Request samples

Response samples

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