Basic Structure
Every object in the eCommerce graph has it’s own URL that can be accesses through HTTP GET requests for requesting properties [Read], through HTTP POST and PUT requests for creating/modifying properties [Publish]. All responses are JSON objects.
Relationships:
All objects in the Scalefast eCommerce graph are connected to each other via relationships.
Example: Product A belongs to Catalog B and has been purchased by Customer X in the Order Z.
These relationships are called connections in our API. They can be seen in the URL structure.
Example: https://api.scalefast.com/OBJECT_TYPE/ID/CONNECTION_TYPE
Collections:
Objects in certain cases are also grouped in “collections” of objects. Reading a collection will return the list of products contained in that collection.
Example: https://api.scalefast.com/seller/22298/products