POST

Authorizations

x-api-key
string
header
required

Body

application/json
seller_supplier_id
required

Your supplier external_id, or the Melonn supplier id. Matched against external_id first. The supplier must be active.

Minimum string length: 1
destination_warehouse_code
string
required

Code of the destination warehouse where the inventory will be received.

external_order_number
string
required

Your identifier for the supplier order.

line_items
object[]
required

Products being sent.

Minimum array length: 1
tracking_number
string

Courier tracking number for the shipment.

expected_reception_date
string<date-time>

Expected date and time the shipment arrives at the warehouse (ISO 8601 with time zone, e.g. 2025-01-31T00:00:00Z).

comments
string

Comments or notes about the supplier order.

return_address_l1
string
deprecated

Deprecated. Accepted and discarded; the value is not stored.

return_address_l2
string
deprecated

Deprecated. Accepted and discarded; the value is not stored.

return_city
string
deprecated

Deprecated. Accepted and discarded; the value is not stored.

return_region
string
deprecated

Deprecated. Accepted and discarded; the value is not stored.

return_country
string
deprecated

Deprecated. Accepted and discarded; the value is not stored.

return_postal_code
string
deprecated

Deprecated. Accepted and discarded; the value is not stored.

courier_company_id
number

Id of the courier company bringing the shipment (see Courier companies).

shipped_packages
object[]

Physical packages being shipped. Omit it rather than sending an empty array.

Minimum array length: 1

Response

Supplier order created. Returns the order with its line items.

A supplier order with its line items.

id
integer

Melonn id of the supplier order.

seller_supplier_id
integer

Melonn id of the supplier.

destination_warehouse_code
string

Code of the destination warehouse.

internal_order_number
string

Internal order number assigned by Melonn. Use it in the other supplier order endpoints.

external_order_number
string

Your identifier for the order. Absent when the order has none.

creation_date
string<date-time>

Date and time the order was created.

supplier_order_state
object

Current state of the supplier order.

comments
string

Comments of the order. Absent when the order has none.

supplier_order_lines
object[]