FulfillbotDocs
Menu
MarkdownDownload

Inventory

Your stock in our warehouse, per product: what is on hand, what is set aside for orders and shipments, what is free to use, and what is on the way from purchase orders. Dropship orders use it automatically; ship it in bulk with POST /v1/shipments.

The list contains every product that has stock on hand, stock set aside, or stock on the way. It is sorted by SKU.

List your stock

GET /v1/inventory

Products with stock in our warehouse, stock set aside for orders, or stock on the way. Sorted by SKU.

Property Value
URL https://api.rephut.com/v1/inventory
Permission catalog:read
Access Read: counts towards the read limit and works while your account is on hold
Idempotency-Key Not used
Success 200 OK

Query parameters

Field Type Required Description
page integer No Page number. See Pagination. From 1 to 10,000. Default: 1.

Headers

Header Required Value
Authorization Yes Bearer <your API key>. See Authentication.

Response

200 with data, a list of objects with the fields below (up to one page), and meta with total, page, limit and pageCount. See Pagination.

Field Type Description
productId string Our product id. Use it in POST /v1/shipments/estimate and POST /v1/shipments.
sku string Our SKU.
name string Product name in English.
attributes string Variant details in English, for example colour and size.
customerSku string Your SKU for this product when it is mapped; empty otherwise.
onHandQty integer Units in our warehouse.
reservedQty integer Units set aside for orders and shipments.
availableQty integer Units free to use: onHandQty minus reservedQty.
incomingQty integer Bought but not yet in our warehouse.

Errors

Code HTTP status Meaning
invalid_api_key 401 The API key is missing, malformed, revoked or no longer valid.
account_action_required 403 Sign in to the portal and finish the required account steps first.
api_not_enabled 403 API access is not enabled for this account.
insufficient_scope 403 The API key does not have the permission this call needs.
validation_failed 422 The input is not valid. details lists each field and the reason.
rate_limited 429 Too many requests. Wait for the number of seconds in Retry-After.
internal_error 500 Unexpected error. Quote X-Request-Id when you contact support.

Handle errors by code. See Errors.