complete-draft-order
Finalize and process draft orders in Shopify by specifying the draft order ID and variant ID, ensuring accurate order completion and inventory updates.
Instructions
Complete a draft order
Input Schema
Name | Required | Description | Default |
---|---|---|---|
draftOrderId | Yes | ID of the draft order to complete | |
variantId | Yes | ID of the variant in the draft order |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"draftOrderId": {
"description": "ID of the draft order to complete",
"type": "string"
},
"variantId": {
"description": "ID of the variant in the draft order",
"type": "string"
}
},
"required": [
"draftOrderId",
"variantId"
],
"type": "object"
}