FCHubFCHub.co

Orders

Create, retrieve, update, and manage orders. Includes line items, addresses, transactions, and status changes.

The bread and butter of any e-commerce API. Everything you need to create, fetch, update, and occasionally delete orders — plus transactions, addresses, shipping, and disputes.

Endpoints

MethodEndpointDescription
GETList ordersRetrieve a paginated list of orders with filtering and search
GETGet order detailsRetrieve a single order by ID
GETGet customer ordersPaginated orders for a specific customer
GETGet order transactionsAll transactions for a specific order
GETGet transaction detailsDetails of a specific transaction
GETGet shipping methodsAvailable shipping methods for order creation
POSTCreate orderCreate a new order with items and customer info
POSTCreate custom orderCreate a custom line item on an existing order
POSTUpdate orderUpdate an existing order
POSTChange order customerChange the customer on an order
POSTCreate and change customerCreate a new customer and assign to order
POSTCalculate shippingCalculate shipping costs for an order
POSTMark order as paidManually mark an order as paid
POSTRefund orderProcess a refund
POSTAccept disputeAccept a transaction dispute
POSTGenerate missing licensesGenerate missing licence keys for an order
POSTBulk order actionsPerform bulk actions on multiple orders
PUTUpdate order addressUpdate billing or shipping address on an order
POSTUpdate order address IDUpdate the address ID associated with an order
PUTUpdate order statusesUpdate order statuses
PUTSync order statusesSynchronise statuses with the payment gateway
PUTUpdate transaction statusUpdate status of a specific transaction
DELETEDelete orderSoft-delete an order

On this page