Ecwid — store API
ecwid/store · version 1
envs add ecwid/store
This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.
| Key | Needed | Kind | Notes |
|---|---|---|---|
ECWID_STORE_ID |
required | secret | Names the store. Ecwid says nothing about publishing it, and it accompanies both tokens below, so it is not treated as public.. where to get it |
ECWID_PUBLIC_TOKEN |
optional | config | Ecwid says the public token is safe to use on the storefront, naming the exception to the secret one explicitly.. where to get it |
ECWID_ACCESS_TOKEN |
optional | secret | The secret token for REST requests, delivered to an app only inside an encrypted payload it decrypts on its own server. Reissued each time a merchant opens the app rather than rotated.. where to get it |
ECWID_CLIENT_SECRET |
optional | secret | Decrypts that payload: its first sixteen characters are the key. The one name Ecwid shows read from an environment, in its own code sample.. where to get it |