Skip to content

Create simple fulfillment orders for order

POST
/merchants/{merchantCode}/orders/{orderNumber}/simpleFulfillmentOrders
curl --request POST \
--url https://order.shopgate.io/v1/merchants/example/orders/example/simpleFulfillmentOrders \
--header 'Content-Type: application/json' \
--data '{ "simpleFulfillmentOrders": [ { "fulfillmentMethod": "example", "fulfillmentLocationCode": "locationCode", "lineItems": [ { "salesOrderLineItemCode": "salesOrderLineItemCode", "quantity": 1 } ] } ] }'

Create simple fulfillment orders for order

merchantCode
required
string

Unique merchant code which represents the unique “merchant account”.

orderNumber
required
string

Unique order number

Media typeapplication/json
object
simpleFulfillmentOrders
required
Array<object>
object
fulfillmentMethod
required
string
fulfillmentLocationCode
required
string
Example
locationCode
lineItems
required
Array<object>
object
salesOrderLineItemCode
required
string
Example
salesOrderLineItemCode
quantity
required
number
>= 1
Media typeapplication/json
object
ids
Array<string>
errors
Array<object>
object
entityIndex
number
entity
string
entityId
string
code
number
message
string
subentityPath
Array<string | null | number>
Examplegenerated
{
"errors": [
{
"entityIndex": 1,
"entity": "example",
"entityId": "example",
"code": 1,
"message": "example",
"subentityPath": [
"example"
]
}
]
}

Order not found

Media typeapplication/json

Requested quantities exceed sales order

Media typeapplication/json

Unexpected error

Media typeapplication/json
object
code

Machine readable error code

string
message
required

Human readable error code

string
Example
{
"code": "internal.database",
"message": "Internal Database Error"
}