MobiariDocs
Admin APIInventory

Export stock as CSV

GET
/stores/{store_id}/stock/export

The whole filtered stock list (same filters as listStock, no paging) as a spreadsheet, columns sku, nome, fisico, logico, em_maos, reservado, disponivel, montavel, gargalo_sku, ponto_reposicao, quantidade_reposicao.

Authorization

bearer_auth
AuthorizationBearer <token>

Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.

In: header

Path Parameters

store_id*string

Store id

Formatuuid

Query Parameters

location_id?string

Quantities at this location only; omitted sums every location.

Formatuuid
search?string

Matches SKU or name.

role?string

Which role of stocked item to list. Being a component is a role, not a category: a component can also be sold on its own.

Value in"all" | "product" | "component"
low_stock?boolean

Only items at or below their reorder point.

out_of_stock?boolean

Only items with nothing to sell: buildable 0 for kits, available 0 otherwise.

in_stock_only?boolean

Only items with something to sell.

Response Body

text/csv

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/stock/export"
"string"
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}
{
  "code": "not_found",
  "details": {},
  "error": "Order not found"
}