Update fulfillment orders status
POST
/merchants/{merchantCode}/fulfillmentOrders/status
const url = 'https://order.shopgate.io/v1/merchants/example/fulfillmentOrders/status';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '[{"orderNumber":"1293747-0001","status":"new"}]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://order.shopgate.io/v1/merchants/example/fulfillmentOrders/status \ --header 'Content-Type: application/json' \ --data '[ { "orderNumber": "1293747-0001", "status": "new" } ]'Updates multiple fulfillment order statuses
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”merchantCode
required
string
Unique merchant code which represents the unique “merchant account”.
Request Body
Section titled “Request Body”Media typeapplication/json
Array<object>
object
orderNumber
required
Unique fulfillment order number
string
Example
1293747-0001status
required
string
Responses
Section titled “Responses”Media typeapplication/json
object
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" ] } ]}Merchant not found
Media typeapplication/json

