The API for interacting with the token of a checkout.
StandardApi
The base API object provided to `purchase` extension targets.
Docs_Standard_CheckoutTokenApi
checkoutToken
A stable ID that represents the current checkout.
Matches the `token` field in the [WebPixel checkout payload](/docs/api/pixels/customer-events#checkout) and the `checkout_token` field in the [REST Admin API `Order` resource](/docs/api/admin-rest/unstable/resources/order#resource-object).
CheckoutToken
string
useCheckoutToken
Returns a stable id that represents the current checkout.
UseCheckoutTokenGeneratedType
A stable id that represents the current checkout.
Matches the `token` field in the [WebPixel checkout payload](/docs/api/pixels/customer-events#checkout) and the `checkout_token` field in the [Admin REST API Order resource](/docs/api/admin-rest/unstable/resources/order#resource-object).
Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.