Widget signing secrets
POST /widget-signing-secrets/sign
Sign a customer's email address, so your server can identify a shopper to the widget API without holding the signing secret in your own code. Send the address the shopper signed in with and pass the three values back on the widget request. The signature is good for 24 hours.
Requires the customers:write permission.
Body parameters
emailstring (email)requiredThe email address of the customer your storefront has signed in.
Request
Request
Request
Request
Response
Response schema