Wildberries API TypeScript SDK / <internal> / OrderStatusItem
Interface: OrderStatusItem
Defined in: types/orders-fbs.types.ts:291
Individual order status entry
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
id? | number | Order ID | types/orders-fbs.types.ts:293 |
supplierStatus? | OrderSupplierStatus | Supplier-side status | types/orders-fbs.types.ts:295 |
wbStatus? | OrderWbStatus | Wildberries system status | types/orders-fbs.types.ts:297 |
isCancellable? | boolean | Whether this assembly task can still be cancelled by the seller before being transferred to Wildberries. When true, you can call sdk.ordersFBS.cancelOrder(orderId) and it will succeed. Use this field as a pre-check to avoid unnecessary API calls and 4xx errors when the task is already past the cancellation window. Since 3.11.0 See https://dev.wildberries.ru/docs/openapi/orders-fbs/#tag/Sborochnye-zadaniya-FBS/paths/~1api~1v3~1orders~1status/post Example for (const status of statuses) { if (status.isCancellable) { await sdk.ordersFBS.cancelOrder(status.id!); } } | types/orders-fbs.types.ts:317 |
isTransferable? | boolean | Whether this assembly task can be moved from delivery (complete) back to assembly (confirm) via transferSupplyOrders(). true only when all conditions hold: the task is in complete; the target supply is not transferred to delivery; the task has not been moved back before. Use this field as a pre-check to avoid unnecessary API calls and 4xx errors. Since task-241 See https://dev.wildberries.ru/docs/openapi/orders-fbs#tag/fbsSupplies/operation/patchV3FbsSuppliesSupplyIdOrdersTransfer Example for (const status of statuses) { if (status.isTransferable) { await sdk.ordersFBS.transferSupplyOrders(fromSupplyId, { orderIds: [status.id!], newSupplyId: 'WB-GI-200', }); } } | types/orders-fbs.types.ts:340 |