Environments
Base URLs
Section titled “Base URLs”| Environment | Base URL |
|---|---|
| Development | https://dev-api.theprioryshop.co.uk |
| Production | https://api.theprioryshop.co.uk |
Every route documented here is relative to one of these, e.g.
https://dev-api.theprioryshop.co.uk/v1/catalog/products.
Production is not publicly launched yet
Section titled “Production is not publicly launched yet”The Production API host exists and runs the same /v1 contract, but the production developer
API is not publicly launched until owner approval. Don’t assume a Production Integration API key
is available on request today - Production key issuance is gated separately from this
documentation existing. If you’re building an integration, develop and test it against
Development first.
Keys are environment-specific
Section titled “Keys are environment-specific”An Integration API key issued for Development only works against the Development API, and a Production key only works against Production - a key from one environment is rejected by the other. See API Keys for the key format and how environment is encoded in it.
Data is environment-specific too
Section titled “Data is environment-specific too”Development and Production are completely separate systems with separate databases. Data you see in Development (products, stores, promotions, stock levels) is test/staging data, not a preview of real Production data, and changes you make in one never affect the other.