Skip to main content
Orders

Create Goodsout

Creates an order goodsout.

POST
/v1/orders/goodsouts

Scope(s): APP::ORDERS::MANAGE

expandstringquery

Usage: expand=*

Expand attributes, lines, lines.variation, lines.variation.descriptions, lines.variation.descriptions.locale, lines.variation.type, order, order.channel, order.channel.organisation, shipments, shipments.shipping_service, shipments.shipping_service.courier_account, shipments.shipping_service.courier_account.courier, shipping_address, shipping_address.country, shipping_address.country.region, tags, warehouse

Body

application/json
attributesany

List of attributes.

bulk_optionsany

Options for bulk goodsouts.

date_placedanyrequired

Customer placed date.

delivery_instructionsstring

Delivery instructions.

despatch_instructionsstring

Despatch instructions.

gift_messagestring

Gift message. If presented, gift_message_template_shortcode is required.

gift_message_template_shortcodestring

Shortcode for the gift message template to be used. If presented, gift_message is required.

import_optionsany

Import options.

linesanyrequired

The list of products.

metadataany

Goodsout metadata.

orderanyrequired

Order.

picking_instructionsstring

Picking instructions.

retailerinteger

Retailer

shippingany

Shipping data.

shipping_addressanyrequired

Customer shipping address.

tagsany

List of tags to be applied to the goodsout.

typeany

Type.

warehousestringrequired

Warehouse short code.

Response

200application/json

successful operation

attributesany

List of attributes.

cancellation_dateany

The date a goodsout was cancelled.

date_placedany

Placed date.

delivery_instructionsstring

Delivery instructions.

despatch_dateany

Despatch date.

despatch_on_dateany

Despatch on date.

gift_messagestring

Gift message.

idnumber

ID.

linesany

List of lines.

orderobject

Order.

retailer_idnumber

ID of the retailer the goodsout is destined for. Null when the goodsout has no retailer.

shipmentsany

List of shipments.

shipping_addressobject

Shipping Address.

sourcestring

Source.

statusenum<string>

Status.

Available options: draft, awaiting_allocation, hung, returned, awaiting_payment, awaiting_picking, awaiting_despatch, backorder_release, backorder, cancelled, return_open, item_refunded, item_replaced, awaiting_collection, despatched
tagsany

Applied tags.

typeenum<string>

Goodsout type, as set when the goodsout was created.

Available options: consumer, trade, retail
warehouseobject

Warehouse.