Inventory API

Get access to your inventory data through Cloudbox's Inventory API.

Retrieving Inventory Data

The first step in syncing CloudBox inventory into your system is retrieving your organization’s SKU list. SKUs represent the products your CloudBox containers are tracking, and include metadata such as unit weights, category, expiration dates, descriptions, and tracking IDs.

The CloudBox API exposes a dedicated endpoint to export all SKU records associated with your organization.

SKUs are returned sorted by name. The response wraps the SKUs in data alongside a metadata object.

API Endpoint

GET
/api/export/skus

Current Use Cases

Required Headers

Every request must include the following:

Header Key
Description
org-api-key
Your Organization API key. Contact Cloudbox Support For Access: support@cloudboxapp.com.
user-api-key
Your User API Key

Requests missing either header will return 401 Unauthorized

Example Request

bash curl -X GET "https://app.cloudboxapp.com/api/export/skus" \ -H "org-api-key: YOUR_ORG_API_KEY" \ -H "user-api-key: YOUR_USER_API_KEY" \ -H "Accept: application/json"

Response Schema

Column
Type
Description
id
string
Unique randomly generated number
name
string
Name of SKU
category
string
Category of SKU for organization purposes
unitWeight
number (nullable)
Total weight of a single unit
trackingId
string
ID used to correlate id to integration such as Metrc, BioTrack or WMS SKU serial.
unitModeEnabled
boolean
True if unit mode is enabled
expirationDate
string (YYYY-MM-DD)
Expiration date
description
string (nullable)
Description of SKU
organizationId
string
ID of the organization the SKU belongs to
createdAt
string (ISO 8601)
Time SKU was created in table
updatedAt
string (ISO 8601)
Last time the SKU was updated
uploadedSKU
boolean
True if the SKU was uploaded through the upload CSV tool
promptUser
boolean
Enabled until unit weight is set for a unit based SKU
metadata.total_skus
number
Number of SKUs returned
metadata.exported_at
string (ISO 8601)
Time the export was generated
metadata.organization_id
string
ID of the organization the API keys belong to

Filters

Errors

Cloudbox uses standard HTTP status codes to indicate API success or failure:

  • 200–299 – Request succeeded
  • 400 – Bad request (missing parameters, invalid values)
  • 401 – Unauthorized (missing or invalid API keys)
  • 404 – Resource not found
  • 429 – Too many requests (rate limited)