An order completion is automatically created upon completion of the following payment types:
order embedded payment order redirect payment order payment card payment
An order completion must be manually created for:
Zero value orders Unpaid orders Orders paid entirely by order gift card payment or order member balance payment
#### Licenses Required
- Vista.Ocapi
- Vista.Ocapi.EmbeddedPayment
- Mock serverhttps://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/completion
curl -i -X POST \
'https://developer.vista.co/_mock/openapi/digital-platform/openapi/ocapi/v1/orders/{orderId}/completion' \
-H 'Connect-Region-Code: string'Success
One of:
Represents the completion of an in progress order base
Gets the type of the in progress order base
Enum:"Standard""GiftShop""Subscription""Tab"
Gets the number generated by the site that can be used to identify and collect the transaction
Response
{ "orderId": "string", "orderType": "Standard", "status": "Pending", "transactionNumber": 0, "updatedOrderExpiresAt": "2019-08-24T14:15:22Z" }