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

Attach warehouse to merchant

Attach a warehouse to a merchant

This endpoint can be used to attach an existing warehouse to a merchant.

See more details in the .

Rate Limit: 300 Max attempts within 1 minute.

Path Parameters

ParameterDetails
merchantIdentifier
  • required
string

Merchant ID or reference key.

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

Warehouse ID or reference key.

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.

Last updated: August 27, 2024

Provide Feedback