Skip to main content
PUT
/
api
/
v1
/
orders
/
change-facility
Change Facility
curl --request PUT \
  --url https://api.retailreadyai.com/api/v1/orders/change-facility \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "po_number": "some-po-number",
  "picksheet_code": "some-picksheet-code",
  "brand_id": "14e517b3-5091-4748-8a25-c497aec2ce98",
  "retailer_id": "14e517b3-5091-4748-8a25-c497aec2ce98",
  "facility_id": "14e517b3-5091-4748-8a25-c497aec2ce9z",
  "items": [
    {
      "sku": "pillow-sku",
      "upc": "pillow-upc",
      "quantity": 5
    }
  ]
}
'
{
  "message": "Facility changed successfully",
  "data": {
    "order_id": "14e517b3-5091-4748-8a25-c497aec2ce98"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
po_number
string
required

Purchase order number

Example:

"some-po-number"

picksheet_code
string
required

Picksheet Code/Warehouse Order Number

Example:

"some-picksheet-code"

brand_id
string<uuid>
required

UUID of the brand

Example:

"14e517b3-5091-4748-8a25-c497aec2ce98"

retailer_id
string<uuid>
required

UUID of the retailer

Example:

"14e517b3-5091-4748-8a25-c497aec2ce98"

facility_id
string<uuid>
required

UUID of the destination facility

Example:

"14e517b3-5091-4748-8a25-c497aec2ce9z"

items
object[]
required

Response

Facility changed successfully

message
string
Example:

"Facility changed successfully"

data
object
Example:
{
"order_id": "14e517b3-5091-4748-8a25-c497aec2ce98"
}