docs
  1. Admin Api
  2. Resources
  3. Merchants
  4. Attach Warehouse To Merchant

Attach warehouse to merchant

Attach a warehouse to a merchant

Rate Limit: 300 Max attempts within 1 minute.

Path Parameters

ParameterDetails
merchantIdentifier
  • required
string
Examples:
  • ^[1-9][0-9]*$
  • ^key(%3D|\=)[a-zA-Z0-9-_%\+\. ]*$
warehouseIdentifier
  • required
string
Examples:
  • ^[1-9][0-9]*$
  • ^key%3D[a-zA-Z0-9-_%\+\. ]*$

Responses

204
The warehouse was successfully attached to the merchant.
Success
400
Bad Request
application/json
Error
401
Unauthorized
application/json
Error
404
Not Found
application/json
Error
POST/merchants/{merchantIdentifier}/warehouses/{warehouseIdentifier}

Request samples

Attaching the same warehouse to the merchant twice will result in 400 response code with MERCHANT_WAREHOUSE_ALREADY_EXISTS error key.

Provide Feedback