Learn how to authenticate requests to the Storefront API.
data.token
attribute.
X-Spree-Order-Token: {token}
header.
access_token
and a refresh_token
, eg.
expires_in
attribute).
After that period, you can refresh the token by executing the following curl command: