Atlas Open API
  1. Stocks
Atlas Open API
  • Introduction
  • Authentication
  • Date and Time
  • Errors
  • Webhooks
    • Incoming
      • Reservations (BETA)
    • Outgoing
      • Menus, Stocks, Orders, Outlets, Users
  • Menus
    • Menu List
      GET
    • Menu Details
      GET
    • Menu Create or Update
      POST
  • Orders
    • Create Order
      POST
    • Order Details
      GET
    • Update Order
      PATCH
  • Stocks
    • Outlet Stocks
      GET
  • Users
    • User Sync
      POST
  • Tables
    • Tables
      GET
  • Carts
    • Untitled Endpoint
      POST
  1. Stocks

Outlet Stocks

GET
/outlets/{outlet_id}/serving_dates/{serving_date}/stocks
Returns a list of current stock quantities for all products at the outlet on the specified day, useful for identifying items in stock.
Stocks returned are arranged by descending quantity, where -1 means unlimited quantity.

Request

Authorization
Add parameter in header
X-Api-Key
Example:
X-Api-Key: ********************
Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.atlas.kitchen/admin/v1/outlets/5/serving_dates/2024-09-01/stocks' \
--header 'X-Merchant-Id;' \
--header 'X-Api-Key;'

Responses

🟢200ListResponse
application/json
Body

Example
{
    "object": "stock",
    "outlet_id": 241,
    "serving_date": "2024-09-01",
    "items": [
        {
            "product_id": 379,
            "quantity": 100
        },
        {
            "product_id": 353,
            "quantity": 0
        },
        {
            "product_id": 337,
            "quantity": -1
        },
        {
            "product_id": 352,
            "quantity": -1
        }
    ]
}
🟠404Not Found
🔴500Server Error
🟠401Unauthorized
🟠422Invalid Parameter
Modified at 2024-10-02 05:23:19
Previous
Update Order
Next
User Sync
Built with