ATLAS API Flows
To illustrate the usage of the ATLAS APIs we present some flowcharts. These flows contain the most important requests to make when using the service. For additional functionalities please refer to the APIs.
Inventory Service Flow
Find the flowchart here.
The Inventory Service Flow illustrates the full process to move through when creating and posting items to ATLAS. An key element of this is the Categories API, which allows items to be described in great detail in accordance with the attributes connected to categories. If you're missing categories or attributes for your items please contact ATLAS API support.
Endpoints:
Get all categories in nested view: GET /categories/nested
Get available lot numbers: GET /inventory-manager/imports/{importId}/availableLots
Gets a list of company agreements based on their ids: GET /ext/companies/company-agreements
Gets locations by company agreement reference number or by a list of ids: GET /ext/companies/locations
Create an import: POST /inventory-manager/imports
Link an opportunity to an import: POST /inventory-manager/imports/{importId}/opportunities?opportunities={companyAgreementIds}
Link one or multiple locations to an import: POST /inventory-manager/imports/{importId}/locations?locationIds={locationIds}
Import items for import of type single: POST inventory-manager/items
Post Media imports: POST /inventory-manager/media/imports
Post a media file: POST /inventory-media/media?fileNameWithExtension={fileNameWithExtension}&mediaImportId={mediaImportId}
Prepares the import to be reviewed before publishing: POST inventory-manager/imports/{importId}/review
Order Service Flow
Find the flowchart here.
The Order Service Flow illustrates which steps to take to retrieve and post information regarding orders in ATLAS.
Endpoints:
Download seller csv sheet: GET /order-service/seller-orders/download
Get seller orders: GET order-service/seller-orders
Set delivery information for orders: PUT order-service/delivery-information
Media Service Flow
Find the flowchart here.
The Media Service Flow illustrates how to manage media files once they are uploaded into ATLAS.
Endpoints:
Gets Media imports: GET /inventory-manager/media/imports?pageNumber={pageNumber}&pageSize={pageSize}
Get media links for a given import Id: GET /inventory-manager/media/{importId}?pageNumber={pageNumber}&pageSize={pageSize}
Link media to items: POST /inventory-manager/items/media-links
Get media linked to an item: GET /inventory-manager/items/{itemId}/media