Skip to main content
POST
/
transfer-orders
Create a transfer order
curl --request POST \
  --url https://{companyName}.api.joinluminous.com/external/api/v1/transfer-orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "date": "2023-12-25",
  "arrival_date": "2023-12-25",
  "source_warehouse_id": 123,
  "destination_warehouse_id": 123,
  "status": "<string>",
  "items": [
    {
      "quantity": 123,
      "ordered_uom_id": 123,
      "product_id": 123
    }
  ],
  "items_cost": 123,
  "shipping_cost": 123,
  "shipping_method": "<string>"
}
'
{
  "data": {
    "id": 123,
    "number": "<string>",
    "date": "2023-12-25",
    "arrival_date": "2023-12-25",
    "items_cost": 123,
    "shipping_cost": 123,
    "shipping_method": "<string>",
    "source_warehouse_id": 123,
    "destination_warehouse_id": 123,
    "status": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To obtain a token, contact [email protected]

Body

application/json
date
string<date>
required

Date of the transfer order

arrival_date
string<date>
required

Expected arrival date

source_warehouse_id
integer
required

ID of the source warehouse

destination_warehouse_id
integer
required

ID of the destination warehouse

status
string
required

Status of the transfer order

items
object[]
required
items_cost
number<float>

Total cost of items

shipping_cost
number<float>

Shipping cost

shipping_method
string

Method of shipping

Response

Successful response

data
object