curl --request POST \
--url 'https://api.stateset.com/api/v1/purgatory/orders/{id}/lines/{line_id}' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"ignore_item": null,
"non_physical": null,
"product_id": null
}'
{
"external_order_id": "string",
"external_status": null,
"id": "string",
"is_posted": true,
"items": [
{
"external_sku": "string",
"id": "string",
"ignore_item": true,
"non_physical": true,
"product_id": null,
"quantity": "string",
"resolved": true
}
],
"ready_to_post": true,
"unresolved_count": 1
}
Map line
POST
/
api
/
v1
/
purgatory
/
orders
/
{id}
/
lines
/
{line_id}
curl --request POST \
--url 'https://api.stateset.com/api/v1/purgatory/orders/{id}/lines/{line_id}' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"ignore_item": null,
"non_physical": null,
"product_id": null
}'
{
"external_order_id": "string",
"external_status": null,
"id": "string",
"is_posted": true,
"items": [
{
"external_sku": "string",
"id": "string",
"ignore_item": true,
"non_physical": true,
"product_id": null,
"quantity": "string",
"resolved": true
}
],
"ready_to_post": true,
"unresolved_count": 1
}
Path parameters
string
required
Purgatory order ID
string
required
Line item ID
Request body
MapLineRequest
boolean,null
boolean,null
string,null
Responses
PurgatoryOrderResponse
ErrorBody
curl --request POST \
--url 'https://api.stateset.com/api/v1/purgatory/orders/{id}/lines/{line_id}' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"ignore_item": null,
"non_physical": null,
"product_id": null
}'
{
"external_order_id": "string",
"external_status": null,
"id": "string",
"is_posted": true,
"items": [
{
"external_sku": "string",
"id": "string",
"ignore_item": true,
"non_physical": true,
"product_id": null,
"quantity": "string",
"resolved": true
}
],
"ready_to_post": true,
"unresolved_count": 1
}
โI