Outbound Bulk Order (B2B)

POST /openapi/{version}/consignments/outbound_bulk_orders/

This endpoint allows users to create an outbound bulk order### Example curl Request: To create an outbound bulk order with the specified data, use the following curl command:

curl --location '{{url}}/openapi/v2/consignments/outbound_bulk_orders/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{token}}' \
--data '{
    "warehouse_id": 0,
    "condition": "USABLE",
    "ship_by_locad": true,
    "start_time": "2019-08-24T14:15:22Z",
    "end_time": "2019-08-24T14:15:22Z",
    "instruction": "Example order instruction",
    "carrier_name": "DHL",
    "tracking_number": "DHL1234567890",
    "address": {
        "address_reference_name": "Singapore Warehouse",
        "address": {
            "address_line1": "123 Example St",
            "address_line2": "Suite 45",
            "address_line3": "",
            "phone": "+65 91234567",
            "city": "Singapore",
            "state": "Singapore",
            "country": "SG",
            "suburb": "Central",
            "zipcode": "123456",
            "email": "john.doe@example.com"
        },
        "channel_id": 1,
        "channel_code": "SG_WH"
    },
    "name": "John Doe",
    "phone": "+65 91234567",
    "warehouse_transfer": false,
    "order_items": [
        {
            "inventory_product": "Product1",
            "quantity": 100,
            "instruction": "Handle with care"
        }
    ],
    "destination_address_id": 123
}''

Request

  • Base URL
    https://base_url
  • Auth
    none declared

Path parameters

versionstring required

Request body

idinteger required
warehouse_idinteger required

Warehouse ID

condition'USABLE' | 'UNUSABLE' required
  • USABLE - USABLE
  • UNUSABLE - UNUSABLE
ship_by_locadboolean required

Ship by Locad

start_timestring date-time required

Start Time

end_timestring date-time required

End Time

instructionstring

Instruction

carrier_namestring

Carrier name

tracking_numberstring

Tracking Number

max_allowed_instruction_lengthstring required

Max allowed instruction length

namestring required

Name

phonestring required

Phone number

carrier_tracking_codestring required

Carrier Tracking Code

warehouse_transferboolean

Warehouse Transfer

order_numstring nullable

Order Number

status'CANCELLED' | 'COMPLETED' | 'CONFIRMED' | 'DISPATCHED' | 'DRAFT' | 'ERROR' | 'FAILED_DELIVERY' | 'PACKING' | 'PARTIAL' | 'PICKED' | 'PICKING' | 'READY_FOR_DISPATCH' | 'READY_FOR_PICKING' | 'RETURNED' | 'UNKNOWN' | 'UNPAID' required
  • CANCELLED - CANCELLED
  • COMPLETED - COMPLETED
  • CONFIRMED - CONFIRMED
  • DISPATCHED - DISPATCHED
  • DRAFT - DRAFT
  • ERROR - ERROR
  • FAILED_DELIVERY - FAILED_DELIVERY
  • PACKING - PACKING
  • PARTIAL - PARTIAL
  • PICKED - PICKED
  • PICKING - PICKING
  • READY_FOR_DISPATCH - READY_FOR_DISPATCH
  • READY_FOR_PICKING - READY_FOR_PICKING
  • RETURNED - RETURNED
  • UNKNOWN - UNKNOWN
  • UNPAID - UNPAID
destination_address_idinteger
packing_video_availableboolean nullable

Response

successboolean
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.