Checkout / State
Complete Checkout
Completes the checkout by marking the order as complete.
Please be aware; Once a checkout is marked as complete
it is considered a completed order, the Cart and Checkout endpoints will no longer access a completed order, and a new cart will need to be created.
If you want to access a completed order you will need to use the Account / Orders or Order Status endpoints.
PATCH
/
api
/
v2
/
storefront
/
checkout
/
complete
Authorizations
X-Spree-Order-Token
string
headerrequiredOrder token to authorize Cart and Checkout requests.
Query Parameters
include
string
Specify the related resources you would like to receive in the response body. More Information.
Response
200 - application/vnd.api+json
data
object
requiredThe Cart provides a central place to collect information about an order, including line items, adjustments, payments, addresses, and shipments. Read more in Spree docs
included
object[]
Was this page helpful?