Skip to main content

Checkout Token
API

The API for interacting with the token of a checkout.

The base API object provided to purchase extension targets.

< | undefined>
required

A stable ID that represents the current checkout.

This matches the data.checkout.token field in a checkout-related WebPixel event and the checkout_token field in the REST Admin API Order resource.

Was this section helpful?

Anchor to useCheckoutToken
useCheckoutToken()

Returns a stable id that represents the current checkout.

| undefined
Was this section helpful?