# Warehance API Documentation > Documentation for Warehance API ## Guides: Documentation - [Getting Started with Warehance API](https://developer.warehance.com/docs/getting-started.md) ## Guides: Order Intake API - [Order Intake API: Start Here](https://developer.warehance.com/docs/order-intake-api.md): For order platforms (checkouts, CRMs, call-center and subscription systems) sending orders to a brand or 3PL that fulfills on Warehance. How the integration works, credentials, a working quick start… - [Order Intake API: Orders and Items](https://developer.warehance.com/docs/order-intake-orders.md): Create, read, update and cancel orders, change their lines, and send prices, totals and invoice details for customs. - [Order Intake API: Order Lifecycle and Holds](https://developer.warehance.com/docs/order-intake-lifecycle.md): What fulfillment_status and status mean, when an order can still be edited, and why an order can sit unfulfilled (holds, SKU and shipping-service mapping). - [Order Intake API: Shipments and Tracking](https://developer.warehance.com/docs/order-intake-tracking.md): Shipments, parcels and tracking numbers; split and merged orders; cursor pagination; and a tracking poll that never misses or double-writes a shipment. - [Order Intake API: Errors, Retries and Edge Cases](https://developer.warehance.com/docs/order-intake-errors.md): Every error status and body the Order Intake API returns, what to do about each, safe retry rules, and a checklist of edge cases to handle. - [Order Intake API: Testing and Go-Live](https://developer.warehance.com/docs/order-intake-go-live.md): The scenarios to test before going live, the go-live checklist, and answers to common questions. - [Order Intake API: Building With an AI Agent](https://developer.warehance.com/docs/order-intake-ai-agents.md): The whole Order Intake API integration as one compact, rule-by-rule spec, plus machine-readable sources and a prompt to hand a coding agent. ## API Reference: Warehance API - Authentication - [Authentication Check](https://developer.warehance.com/reference/get_auth-check.md): Check if the API key is valid and has the necessary permissions to access the API. - Products - [List Products](https://developer.warehance.com/reference/listproducts.md): **Required permission:** `read_products` Get a list of products for your organization or client. - [Create Product](https://developer.warehance.com/reference/post_products.md): **Required permission:** `write_products` Create a new product. - [Get Product](https://developer.warehance.com/reference/get_products-id.md): **Required permission:** `read_products` Get a product by ID. - [Add Bundle Components](https://developer.warehance.com/reference/post_products-id-components.md): **Required permission:** `write_products` Create a bundle component. - [Update Product](https://developer.warehance.com/reference/patch_products-id.md): **Required permission:** `write_products` Update details of an existing product for your organization or client. - Product Aliases - [List Product Aliases](https://developer.warehance.com/reference/listproductaliases.md): **Required permission:** `read_products` Get a list of product aliases (alternate barcodes) for your organization or client. Filter by `product_id` to get the aliases of one product, or by `barcode`… - [Create Product Alias](https://developer.warehance.com/reference/post_product-aliases.md): **Required permission:** `write_products` Add an alias (alternate barcode) to a product. Scanning the alias barcode resolves to the product, with `quantity` units per scan. The barcode must not… - [Get Product Alias](https://developer.warehance.com/reference/get_product-aliases-id.md): **Required permission:** `read_products` Get a product alias by ID. Product aliases must be enabled for the organization. - [Update Product Alias](https://developer.warehance.com/reference/patch_product-aliases-id.md): **Required permission:** `write_products` Update an existing product alias. Only the fields provided are changed; at least one field is required. Product aliases must be enabled for the organization. - [Delete Product Alias](https://developer.warehance.com/reference/delete_product-aliases-id.md): **Required permission:** `write_products` Delete a product alias. The product itself is not changed. Product aliases must be enabled for the organization. - Product Lots - [List Product Lots](https://developer.warehance.com/reference/listproductlots.md): **Required permission:** `read_products` Get a list of product lots for your organization or client. Filter by `product_id` to get the lots of one product, or by `lot_number` to look up a lot.… - [Create Product Lot](https://developer.warehance.com/reference/createproductlot.md): **Required permission:** `write_products` Create a lot for a product ahead of receiving, so the dock can select it instead of typing it in. Only organization API keys can create lots, and the… - Orders - [List Orders](https://developer.warehance.com/reference/listorders.md): **Required permission:** `read_orders` Get a list of orders for your organization or client. - [Create Order](https://developer.warehance.com/reference/post_orders.md): **Required permission:** `write_orders` Create a new order. - [Get Order](https://developer.warehance.com/reference/get_orders-id.md): **Required permission:** `read_orders` Get a order by ID. - [Update Order](https://developer.warehance.com/reference/patch_orders-id.md): **Required permission:** `write_orders` Update details of an existing order for your organization or client. - [Create Order Attachments](https://developer.warehance.com/reference/post_orders-id-attachments.md): **Required permission:** `write_orders` Create new order attachments. - [Update Shipping Address](https://developer.warehance.com/reference/patch_orders-id-shipping-address.md): **Required permission:** `write_orders` Update the shipping address of an existing order for your organization or client. - [Delete Order Attachment](https://developer.warehance.com/reference/delete_orders-id-attachments-attachment-id.md): **Required permission:** `write_orders` Delete an order attachment. - [Cancel Order](https://developer.warehance.com/reference/post_orders-id-cancel.md): **Required permission:** `write_orders` Cancel an order. - [Create Order Items](https://developer.warehance.com/reference/post_orders-id-items.md): **Required permission:** `write_orders` Add items to an existing order. This endpoint allows you to add new order items to an order that has already been created. - [List Order Attachments](https://developer.warehance.com/reference/listorderattachments.md): **Required permission:** `read_orders` Get the files attached to an order, including shipping documents such as commercial invoices generated when an international label is purchased. Each… - Custom Holds - [List Custom Holds](https://developer.warehance.com/reference/listcustomholds.md): **Required permission:** `read_custom_holds` Returns the custom-hold definitions that can be assigned to orders by ID. Client API keys receive organization-wide holds plus holds belonging to their… - [Create Custom Hold](https://developer.warehance.com/reference/createcustomhold.md): **Required permission:** `write_custom_holds` Creates a custom-hold definition. Organization API keys may set `client_id`; omitting it creates an organization-wide hold. Client API keys create a… - [Update Custom Hold](https://developer.warehance.com/reference/updatecustomhold.md): **Required permission:** `write_custom_holds` Updates the name or allocation behavior of a custom-hold definition. Client API keys can update only holds owned by their client; organization-wide… - [Delete Custom Hold](https://developer.warehance.com/reference/deletecustomhold.md): **Required permission:** `write_custom_holds` Deletes a custom-hold definition and removes it from every order to which it is assigned. Client API keys can delete only holds owned by their client;… - Order Items - [Cancel Order Item](https://developer.warehance.com/reference/post_order-items-id-cancel.md): **Required permission:** `write_orders` Cancel an order item. - [Update Order Item](https://developer.warehance.com/reference/patch_order-items-id.md): **Required permission:** `write_orders` Update an order item. Currently, only the quantity can be updated. **Note:** Order items created by native marketplace integrations (items with an `api_id`)… - Inventory - [Adjust Inventory](https://developer.warehance.com/reference/post_inventory-adjust.md): **Required permission:** `write_inventory` Adjust the inventory of a product. Without `lpn_id`, the adjustment applies to the loose stock (not on an LPN) at the location. If the product is only on… - [List Inventory Locations](https://developer.warehance.com/reference/listinventorylocations.md): **Required permission:** `read_inventory` Returns inventory at bin locations. Each result represents a product stored at a location with its on-hand quantity, action-locked quantity, and available… - [List Inventory Histories](https://developer.warehance.com/reference/get_inventory-histories.md): **Required permission:** `read_inventory` List inventory location history records — every inventory adjustment with its old and new quantity, adjustment reason, note, the user who made it, and the… - Shipments - [List Shipments](https://developer.warehance.com/reference/listshipments.md): **Required permission:** `read_shipments` Get a list of shipments for your organization or client. - [Get Shipment](https://developer.warehance.com/reference/get_shipments-id.md): **Required permission:** `read_shipments` Get a shipment by ID. - Shipment Parcels - [Update Shipment Parcel](https://developer.warehance.com/reference/patch_shipment-parcels-id.md): **Required permission:** `write_shipments` Update details of an existing shipment parcel for your organization or client. - Inbound Shipments - [List Inbound Shipments](https://developer.warehance.com/reference/listinboundshipments.md): **Required permission:** `read_inbound_shipments` Get a list of inbound shipments for your organization or client. Parcels added through the Inbound tracking panel are returned in… - [Create Inbound Shipment](https://developer.warehance.com/reference/post_inbound-shipments.md): **Required permission:** `write_inbound_shipments` Create a new inbound shipment. - [Update Inbound Shipment](https://developer.warehance.com/reference/patch_inbound-shipments-id.md): **Required permission:** `write_inbound_shipments` Update details of an existing inbound shipment. - [Update Inbound Shipment Item](https://developer.warehance.com/reference/patch_inbound-shipment-items-id.md): **Required permission:** `write_inbound_shipments` Set or change the lot an inbound shipment item is locked to, for example when a brand sends lot details after the inbound shipment was created.… - [Get Inbound Shipment](https://developer.warehance.com/reference/getinboundshipment.md): **Required permission:** `read_inbound_shipments` Get a single inbound shipment by ID. The inbound shipment has the same fields as in List Inbound Shipments. - [List Inbound Shipment Attachments](https://developer.warehance.com/reference/listinboundshipmentattachments.md): **Required permission:** `read_inbound_shipments` Get the files attached to an inbound shipment, such as receiving check-in sheets, packing lists and photos. Each attachment includes a temporary… - Returns - [List Returns](https://developer.warehance.com/reference/listreturns.md): **Required permission:** `read_returns` Get a list of returns for your organization or client. - [Shop Return Rates](https://developer.warehance.com/reference/shopreturnsrates.md): **Required permission:** `read_returns` and `write_returns` Get shipping rates for return shipments from various carriers. This endpoint allows you to compare return shipping rates across different… - [Create Return](https://developer.warehance.com/reference/post_returns.md): **Required permission:** `write_returns` Create a new return. When `paid_by` is set to "merchant", a shipping label will be purchased and generated. When `email_label_to_customer` is true, the label… - [List Return Attachments](https://developer.warehance.com/reference/listreturnattachments.md): **Required permission:** `read_returns` Get the photos and other attachments associated with a return. Each attachment includes a temporary download URL that expires after 24 hours. - Bills - [List Bills](https://developer.warehance.com/reference/listbills.md): **Required permission:** `read_bills` Get a list of bills for your organization or client (Clients can only view approved bills). - [Create Bill](https://developer.warehance.com/reference/post_bills.md): **Required permission:** `write_bills` Create a new bill. - [List Bill Line Items](https://developer.warehance.com/reference/listbilllineitems.md): **Required permission:** `read_bills` Get a list of line items for a bill. - [Create Line Items](https://developer.warehance.com/reference/post_bills-id-line-items.md): **Required permission:** `write_bills` Create line items for a bill. The bill must be a draft: approved bills can't take new line items. - [Get Bill](https://developer.warehance.com/reference/get_bills-id.md): **Required permission:** `read_bills` Get a bill by ID. Clients can only view approved bills that belong to them. - Billing Profiles - [List Billing Profiles](https://developer.warehance.com/reference/listbillingprofiles.md): **Required permission:** `read_billing_profiles` Get a list of billing profiles for your organization. - Preset Ad Hoc Charges - [List Preset Ad Hoc Charges](https://developer.warehance.com/reference/listpresetadhoccharges.md): **Required permission:** `read_preset_adhoc_charges` Get a list of preset ad hoc charges for your organization. Preset ad hoc charges are reusable templates (name, unit of measure, cost per unit)… - [Create Preset Ad Hoc Charge](https://developer.warehance.com/reference/post_preset-adhoc-charges.md): **Required permission:** `write_preset_adhoc_charges` Create a preset ad hoc charge for your organization, optionally scoped to one client. Only organization API keys can access this endpoint. - [Get Preset Ad Hoc Charge](https://developer.warehance.com/reference/get_preset-adhoc-charges-id.md): **Required permission:** `read_preset_adhoc_charges` Get a preset ad hoc charge by ID. Only organization API keys can access this endpoint. - [Update Preset Ad Hoc Charge](https://developer.warehance.com/reference/patch_preset-adhoc-charges-id.md): **Required permission:** `write_preset_adhoc_charges` Update an existing preset ad hoc charge. Only the fields provided are changed. Only organization API keys can access this endpoint. - [Delete Preset Ad Hoc Charge](https://developer.warehance.com/reference/delete_preset-adhoc-charges-id.md): **Required permission:** `write_preset_adhoc_charges` Delete a preset ad hoc charge. Ad hoc charges already created from the preset are not affected. Only organization API keys can access this… - Ad Hoc Charges - [List Ad Hoc Charges](https://developer.warehance.com/reference/listadhoccharges.md): **Required permission:** `read_adhoc_charges` Get a list of ad hoc charges for your organization's clients. Ad hoc charges are one-off charges that are added to a client's bill when a bill covering… - [Create Ad Hoc Charge](https://developer.warehance.com/reference/post_adhoc-charges.md): **Required permission:** `write_adhoc_charges` Create an ad hoc charge for one of your clients. The charge is added to the client's bill when a bill covering the charge date is generated or… - [Get Ad Hoc Charge](https://developer.warehance.com/reference/get_adhoc-charges-id.md): **Required permission:** `read_adhoc_charges` Get an ad hoc charge by ID. Only organization API keys can access this endpoint. - [Update Ad Hoc Charge](https://developer.warehance.com/reference/patch_adhoc-charges-id.md): **Required permission:** `write_adhoc_charges` Update an existing ad hoc charge. Only the fields provided are changed. Bills that already include the charge are not changed until they are… - [Delete Ad Hoc Charge](https://developer.warehance.com/reference/delete_adhoc-charges-id.md): **Required permission:** `write_adhoc_charges` Delete an ad hoc charge. Bills that already include the charge are not changed until they are regenerated. Only organization API keys can access this… - Warehouses - [List Warehouses](https://developer.warehance.com/reference/listwarehouses.md): **Required permission:** `read_warehouses` Get a list of warehouses for your organization or client. - Locations - [List Locations](https://developer.warehance.com/reference/listlocations.md): **Required permissions:** `read_locations`, `read_warehouses` Get a list of locations for your organization or client. - Stores - [List Stores](https://developer.warehance.com/reference/liststores.md): **Required permission:** `read_stores` Get a list of stores for your organization or client. - [Create Store](https://developer.warehance.com/reference/post_stores.md): **Required permission:** `write_stores` Create a new store. **Note:** This endpoint will create a default shipping method for the store. - Shipping Methods - [List Shipping Methods](https://developer.warehance.com/reference/listshippingmethods.md): **Required permission:** `read_shipping_methods` Get a list of shipping methods for your organization or client. - Clients - [List Clients](https://developer.warehance.com/reference/listclients.md): **Required permission:** `read_clients` Get a list of clients for your organization. - [Create Client](https://developer.warehance.com/reference/post_clients.md): **Required permission:** `write_clients` Create a new client. **Note:** This endpoint will create a default store and shipping method for the client. - [Update Client](https://developer.warehance.com/reference/updateclient.md): **Required permission:** `write_clients` Update a client's shipping paused status. **Note:** This endpoint only allows updating the shipping paused status. Other client settings cannot be modified… - Cycle Counts - [List Cycle Counts](https://developer.warehance.com/reference/listcyclecounts.md): **Required permission:** `read_cycle_counts` Returns a paginated list of cycle counts for the organization. Supports filtering by warehouse, status, and cycle count type. All filter parameters are… - [Get Cycle Count](https://developer.warehance.com/reference/get_cycle-counts-id.md): **Required permission:** `read_cycle_counts` Returns a single cycle count with all of its items and the full count history for each item. Items include location details, line-level status, and all… - Batches - [List Batches](https://developer.warehance.com/reference/listbatches.md): **Required permission:** `read_batches` Returns a paginated list of batches (from Batch Shipping) in your organization's warehouses. Only organization API keys can list batches. All filter… - [Get Batch](https://developer.warehance.com/reference/getbatch.md): **Required permission:** `read_batches` Returns a single batch with its label documents, the items in each order, and every order in the batch with the shipments bought for it through the batch.… - Custom Batches - [List Custom Batches](https://developer.warehance.com/reference/listcustombatches.md): **Required permission:** `read_custom_batches` Returns a paginated list of custom batches for the organization. Supports filtering by warehouse, completion, label generation, and picking status.… - [Get Custom Batch](https://developer.warehance.com/reference/getcustombatch.md): **Required permission:** `read_custom_batches` Returns a single custom batch with its orders and the inventory picked for it. `picks` is the inventory taken for the batch when its labels were… - Pick Sessions - [List Pick Sessions](https://developer.warehance.com/reference/listpicksessions.md): **Required permission:** `read_pick_sessions` Returns a paginated list of pick sessions for the organization, including cancelled pick sessions. Supports filtering by warehouse, picker, order,… - [Get Pick Session](https://developer.warehance.com/reference/getpicksession.md): **Required permission:** `read_pick_sessions` Returns a single pick session with the filters it was created with and every order on it. Each order lists its tote and the items to pick, with the… - Single Item Batches - [List Single Item Batches](https://developer.warehance.com/reference/listsingleitembatches.md): **Required permission:** `read_single_item_batches` Returns a paginated list of single item batches for the organization. Supports filtering by warehouse, status, and pick mode. Requires an… - [Get Single Item Batch](https://developer.warehance.com/reference/getsingleitembatch.md): **Required permission:** `read_single_item_batches` Returns a single item batch with its orders, the items to pick for each order, and the per-SKU totes for `tote_per_sku` batches. Requires an… - Single Order Batches - [List Single Order Batches](https://developer.warehance.com/reference/listsingleorderbatches.md): **Required permission:** `read_single_order_batches` Returns a paginated list of single order shipping batches for the organization. Supports filtering by warehouse, completion, and assigned user.… - [Get Single Order Batch](https://developer.warehance.com/reference/getsingleorderbatch.md): **Required permission:** `read_single_order_batches` Returns a single order shipping batch with its orders. When the batch has a picking stage (`pick_method` is set), `pick_items` lists what must be… - Kit Templates - [Create Kit Template](https://developer.warehance.com/reference/post_kit-templates.md): **Required permission:** `write_kit_templates` Create a new kit template for a kit product. A kit template defines the component products (and their quantities) needed to assemble one kit. The kit… - [Update Kit Template](https://developer.warehance.com/reference/patch_kit-templates-id.md): **Required permission:** `write_kit_templates` Update an existing kit template's name and/or components. At least one of `name` or `components` must be provided. When `components` is provided, it… - [List Kit Templates](https://developer.warehance.com/reference/listkittemplates.md): **Required permission:** `read_kit_templates` Returns a paginated list of kit templates for the organization. Supports filtering by client and kit product, and free-text search on the kit template… - Kit Assembly Tasks - [Create Kit Assembly Task](https://developer.warehance.com/reference/post_kit-assembly-tasks.md): **Required permission:** `write_kit_assembly_tasks` Create a new kit assembly task. A kit assembly task instructs the warehouse to assemble a quantity of a kit product from the given assembly item… - [Update Kit Assembly Task](https://developer.warehance.com/reference/patch_kit-assembly-tasks-id.md): **Required permission:** `write_kit_assembly_tasks` Update an existing kit assembly task. At least one field must be provided. Restrictions based on the task's current status: -… - [List Kit Assembly Tasks](https://developer.warehance.com/reference/listkitassemblytasks.md): **Required permission:** `read_kit_assembly_tasks` Returns a paginated list of kit assembly tasks for the organization. Supports filtering by client, warehouse, kit product, assigned user, status,… - Reports - [Backordered SKUs Report](https://developer.warehance.com/reference/listbackorderedskusreport.md): **Required permission:** `read_backordered_skus_report` Returns a product-centric report of SKUs that are blocking open orders from reaching Ready-to-Ship, along with the headline… - Users - [List Users](https://developer.warehance.com/reference/listusers.md): **Required permission:** `read_users` Get a list of users for your organization. ## API Reference: Warehance Order Intake API - Orders - [Create Order](https://developer.warehance.com/reference/createorder.md): Create an order. A new order returns `201` with `fulfillment_status` `unfulfilled`, `status` `unverified` and no shipments. Save the order `id` and each item `id` against your order and lines. -… - [List Orders](https://developer.warehance.com/reference/listorders-1.md): The store's orders, oldest first, one entry per order number (a split order is still one entry). Use `updated_at_start` to read orders changed since your last poll, including changes the warehouse… - [Get Order](https://developer.warehance.com/reference/getorder.md): Get an order by its `id`, or by your order number with `?order_number=`. - [Cancel Order](https://developer.warehance.com/reference/cancelorder.md): Cancel the order and return it, now `cancelled`. Only while its `status` is `unverified`; otherwise, including when it's already cancelled, returns `403`. If the warehouse has started and the order… - [Update Order](https://developer.warehance.com/reference/updateorder.md): Change the order's address, shipping service, contact details or order date. Only the fields you send change; send `""` to clear one. Warehance verifies a changed address again. The order number… - [List Order Shipments](https://developer.warehance.com/reference/listordershipments.md): The order's shipments, oldest first. Empty until the warehouse buys a label. An order can have several (split, partial or replacement shipments), and a fulfilled order can have none when the… - Items - [List Order Items](https://developer.warehance.com/reference/listorderitems.md): The order's lines. Deleted lines aren't included. - [Add Order Item](https://developer.warehance.com/reference/addorderitem.md): Add a line to the order and return it with its new `id`. Adding a SKU that's already on the order creates a second line; to change how many are ordered, update the existing line instead. Only while… - [Get Order Item](https://developer.warehance.com/reference/getorderitem.md): One of the order's lines. A deleted or unknown line returns `404` `{"errors": ["could not find item"]}`. - [Update Order Item](https://developer.warehance.com/reference/updateorderitem.md): Change a line's quantity. Only the quantity can change: a different SKU is a different line, so delete this one and add the new one. Sending another `sku` returns `400` `{"errors": ["Item sku can't… - [Delete Order Item](https://developer.warehance.com/reference/deleteorderitem.md): Remove a line from the order and return the lines left. The deleted line is left out of every response afterwards. Only while the order's `status` is `unverified`; otherwise returns `403`. To cancel… - Shipments - [List Shipments](https://developer.warehance.com/reference/listshipments-1.md): The store's shipments, oldest first: the tracking feed. Poll it on a schedule with `updated_at_start`, and for each shipment write every parcel's tracking number to each order in its `orders`. -… - [Get Shipment](https://developer.warehance.com/reference/getshipment.md): One shipment with every order it ships and every line in its parcels. An unknown or voided shipment returns `200` with `{"shipment": null}`, not `404`.