To integrate with an account, you will have to go to the settings page and create a Custom app, which will provide you with two keys. A secret key seck_5LM98vTuP1DtGzNFymbp3e
which is used to authenticate requests, and a public key: pubk_5LFUDpeGTiCqk4zjfXV3sz
which can be used for identification, when receiving webhooks.
Extra resources:
For retailers: Connect products
For suppliers:
Create and populate a price list
Every request is made to the base url: https://api.stedger.com
, and is authorized through HTTP Basic Auth. Provide your API key as the basic auth username value. You do not need to provide a password.
Alternatively you can also authenticate via Bearer auth, in this case you should use
-H "Authorization: Bearer seck_5LM98vTuP1DtGzNFymbp3e"
instead of
-u sk_test_4eC39HqLyjWDarjtT1zdp7dc:
curl <https://api.stedger.com/v1/orders> \\
-u seck_KGBXQ2pr8h9z4xb7K77oClUk:
# The colon prevents curl from asking for a password.