How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Medusa Orders API

An order is a purchase made by a customer through a storefront.Orders can also originally be created as draft orders.These API routes allow admin users to view and manage orders.

Medusa Orders API is one of 82 APIs that Medusa publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Order. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and authentication docs.

This API exposes 26 operations across 25 paths, and defines 111 schemas. It is described by OpenAPI 3.2.0, at version 2.19.0.

Requests are made against 2 base URLs: http://localhost:9000, https://api.medusajs.com.

26 operations 25 paths 111 schemas 8 GET18 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.19.0
Base URL
https://{medusa-backend-domain}
Authentication
HTTP Basic, HTTP Bearer, API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 4

Medusa Orders API declares 4 security schemes for authenticating requests. It accepts HTTP basic authentication (api_token). It accepts HTTP bearer tokens (jwt_token). An API key is passed in the cookie as connect.sid (cookie_auth). It accepts HTTP bearer tokens (reset_password).

Paths & Operations 26

Across 25 paths, the API surfaces 26 operations — 8 GET, 18 POST. Each is listed below with its method, path, parameters, and response codes.

Orders 26

An order is a purchase made by a customer through a storefront. Orders can also originally be created as draft orders. These API routes allow admin users to view and manage orders.

GET
/admin/orders
List Orders
GetOrders 15 params → 200400401404409422500
POST
/admin/orders/export
Export Orders
PostOrdersExport 15 params → 202400401404409422500
GET
/admin/orders/{id}
Get an Order
GetOrdersId 3 params → 200400401404409422500
POST
/admin/orders/{id}
Update Order
PostOrdersId 3 params body → 200400401404409422500
POST
/admin/orders/{id}/archive
Archive an Order
PostOrdersIdArchive 3 params → 200400401404409422500
POST
/admin/orders/{id}/cancel
Cancel Order
PostOrdersIdCancel 3 params → 200400401404409422500
GET
/admin/orders/{id}/changes
List Changes on an Order
GetOrdersIdChanges 10 params → 200400401404409422500
POST
/admin/orders/{id}/complete
Complete Order
PostOrdersIdComplete 3 params body → 200400401404409422500
POST
/admin/orders/{id}/credit-lines
Create Credit Line for Order
PostOrdersIdCreditLines 3 params body → 200400401404409422500
POST
/admin/orders/{id}/fulfillments
Create an Order Fulfillment
PostOrdersIdFulfillments 3 params body → 200400401404409422500
POST
/admin/orders/{id}/fulfillments/{fulfillment_id}/cancel
Cancel Fulfillment
PostOrdersIdFulfillmentsFulfillment_idCancel 2 params body → 200400401404409422500
POST
/admin/orders/{id}/fulfillments/{fulfillment_id}/mark-as-delivered
Mark a Fulfillment as Delivered.
PostOrdersIdFulfillmentsFulfillment_idMarkAsDelivered 4 params body → 200400401404409422500
POST
/admin/orders/{id}/fulfillments/{fulfillment_id}/shipments
Create Shipment for an Order's Fulfillment
PostOrdersIdFulfillmentsFulfillment_idShipments 4 params body → 200400401404409422500
GET
/admin/orders/{id}/line-items
List Line Items
GetOrdersIdLineItems 5 params → 200400401404409422500
POST
/admin/orders/{id}/payment-sessions/authorize
Authorize Payment Session
PostOrdersIdPaymentSessionsAuthorize 1 param body → 200400401404409422500
GET
/admin/orders/{id}/preview
Get Preview
GetOrdersIdPreview 1 param → 200400401404409422500
GET
/admin/orders/{id}/shipping-options
List Shipping Options for Order
GetOrdersIdShippingOptions 1 param → 200400401404409422500
POST
/admin/orders/{id}/transfer
Request Order Transfer
PostOrdersIdTransfer 3 params body → 200400401404409422500
POST
/admin/orders/{id}/transfer/cancel
Cancel Transfer Request
PostOrdersIdTransferCancel 3 params → 200400401404409422500
POST
/admin/orders/{id}/transfer/guest
Transfer Order to Guest Customer
PostOrdersIdTransferGuest 3 params body → 200400401404409422500
GET
/store/orders
List Logged-in Customer's Orders
GetOrders 12 params → 200400401404409422500
GET
/store/orders/{id}
Get an Order
GetOrdersId 5 params → 200400401404409422500
POST
/store/orders/{id}/transfer/accept
Accept Order Transfer
PostOrdersIdTransferAccept 5 params body → 200400401404409422500
POST
/store/orders/{id}/transfer/cancel
Cancel Order Transfer
PostOrdersIdTransferCancel 5 params → 200400401404409422500
POST
/store/orders/{id}/transfer/decline
Decline Order Transfer
PostOrdersIdTransferDecline 5 params body → 200400401404409422500
POST
/store/orders/{id}/transfer/request
Request Order Transfer
PostOrdersIdTransferRequest 5 params body → 200400401404409422500

Schemas 111

The contract defines 111 schemas that model the data the API accepts and returns. The most detailed are AdminOrderPreview (54 properties), AdminOrder (52 properties), BaseOrder (48 properties), StoreOrder (48 properties). Each schema is shown below with its type and property counts.

AdminProductOptionValue
object
The product option value's details.
9 properties 2 required
BaseCollection
object
The product collection's details.
9 properties 7 required
AdminRegionCountry
object
The country's details.
6 properties 1 required
BaseOrderItemDetail
object
The item's detail.
14 properties 14 required
BaseOrderAddress
object
An order address.
15 properties 4 required
AdminProductVariantInventoryItemLink
object
An association between a product variant and an inventory item.
6 properties 3 required
BaseRefundReason
object
The refund reason's details.
7 properties 5 required
AdminProductVariant
object
The product variant's details.
31 properties 22 required
BaseProductOption
object
The product option's details.
9 properties 3 required
Error
object
3 properties
AdminProductOption
object
The product option's details.
9 properties 3 required
BaseCapture
object
The details of a captured payment.
5 properties 4 required
AdminCustomerAddress
object
The customer's address.
18 properties 18 required
BaseProductOptionValue
object
The product option value's details.
9 properties 2 required
AdminOrderLineItem
object
The item's details.
44 properties 39 required
BaseCalculatedPriceSet
object
The calculated price's details.
14 properties 6 required
BaseOrderShippingMethodTaxLine
object
The tax line's details.
12 properties 9 required
AdminMarkOrderFulfillmentAsDelivered
object
The details of marking an order fulfillment as delivered.
1 property
AdminExchange
object
The exchange's details.
20 properties 8 required
BaseOrder
object
The order's details.
48 properties 40 required
AdminOrderAddress
object
An order address.
16 properties 4 required
AdminOrderShippingMethod
object
The shipping method's details.
22 properties 18 required
AdminPaymentProvider
object
The payment provider's details.
2 properties 2 required
AdminProduct
object
The product's details.
34 properties 27 required
BasePaymentSession
object
The payment session's details.
10 properties 6 required
BaseRefund
object
The refund's details.
8 properties 4 required
AdminProductCategory
object
The product category's details.
15 properties 13 required
BaseProductType
object
The product type's details.
7 properties 4 required
AdminFulfillmentDeliveryAddress
object
The address to deliver the items to.
11 properties
AdminOrderResponse
object
An order's details.
1 property 1 required
AdminCustomer
object
The customer's details.
16 properties 9 required
AdminOrderPreviewResponse
object
The preview of an order.
1 property 1 required
BaseProductCategory
object
The product category's details.
15 properties 13 required
AdminOrder
object
The order's details.
52 properties 41 required
AdminCreateOrderCreditLine
object
The details of a credit line to add to an order.
4 properties 3 required
AdminOrderPreview
object
A preview of an order if a change, such as exchange, return, edit, or claim is applied on it.
54 properties 42 required
BaseExchangeItem
object
The item's details.
9 properties 7 required
BaseOrderTransaction
object
An order transaction's details.
9 properties 9 required
AdminExportOrderResponse
object
The details of the order export.
1 property 1 required
AdminPrice
object
The price's details.
11 properties 11 required
AdminPaymentCollection
object
The payment collection's details.
14 properties 5 required
BaseOrderLineItemTaxLine
object
The tax line's tax lines.
12 properties 9 required
BaseProductVariant
object
The product variant's details.
28 properties 21 required
AdminSalesChannel
object
The sales channel's details.
8 properties 8 required
AdminOrderItem
object
The order item's details.
5 properties 5 required
AdminProductImage
object
The image's details.
9 properties 3 required
AdminClaim
object
The claim's details.
20 properties 12 required
BaseProduct
object
The product's details.
31 properties 26 required
AdminOrderLinePreview
object
46 properties 40 required
AdminCollection
object
The product collection's details.
10 properties 7 required
OrderAddress
object
The address's details.
15 properties 3 required
BaseOrderFulfillment
object
The fulfillment's details.
15 properties 15 required
AdminUpdateOrder
object
The details to update in the order.
5 properties
AdminShippingProfile
object
The shipping profile's details..
7 properties 7 required
AdminOrderFulfillment
object
The fulfillment's details.
15 properties 15 required
BaseClaimItem
object
The claim item's details.
11 properties 7 required
AdminOrderChangeAction
object
The order change action's details.
16 properties 16 required
AdminPayment
object
The payment's details.
16 properties 4 required
BaseOrderShippingMethodAdjustment
object
The adjustment's adjustments.
11 properties 7 required
AdminCustomerGroup
object
The customer group's details.
6 properties 6 required
AdminOrderChangesResponse
object
The details of an order's changes.
1 property 1 required
AdminInventoryItem
object
The inventory item's details.
18 properties 4 required
BaseOrderShippingMethod
object
The shipping method's details.
22 properties 18 required
BaseProductImage
object
The image's details.
7 properties 3 required
AdminRegion
object
The region's details.
9 properties 3 required
AdminRequestOrderTransfer
object
The details of the request to transfer the order.
4 properties 1 required
AdminRefund
object
The refund's details.
8 properties 4 required
OrderCreditLine
object
The credit line's details.
9 properties 9 required
AdminInventoryLevel
object
The location level's location levels.
12 properties 11 required
AdminPaymentSession
object
The payment session's details.
10 properties 6 required
AdminOrderChange
object
The order change's details.
29 properties 26 required
AdminAuthorizeOrderPaymentSession
object
The details for authorizing a payment session for an order.
1 property 1 required
AdminReturnItem
object
The return item's details.
9 properties 6 required
BaseOrderLineItem
object
The item's items.
44 properties 39 required
AdminProductType
object
The product type's details.
8 properties 4 required
AdminAuthorizeOrderPaymentSessionResponse
object
The details of the response after authorizing a payment session for an order.
2 properties 2 required
BaseOrderShippingDetail
object
Details of changes to a shipping method.
8 properties 5 required
AdminTransferOrderToGuest
object
The details of the order transfer to a guest.
3 properties 1 required
BasePaymentProvider
object
The payment provider's details.
1 property 1 required
BaseOrderChangeAction
object
The action's details.
BasePaymentCollection
object
The payment collection's details.
14 properties 5 required
AdminProductTag
object
The product tag's details.
8 properties 4 required
BaseOrderLineItemAdjustment
object
The adjustment's details.
11 properties 7 required
AdminReturn
object
The return's details.
16 properties 10 required
BaseProductTag
object
The product tag's details.
7 properties 4 required
BasePayment
object
The payment's details.
16 properties 4 required
AdminTranslation
object
The translation's details.
8 properties 8 required
BaseOrderSummary
object
The order's summary details.
7 properties 7 required
StoreProductTag
object
The tag's details.
7 properties 4 required
StoreProductType
object
The product type's details.
7 properties 4 required
StoreAcceptOrderTransfer
object
The details of accepting the order transfer.
1 property 1 required
StoreProductOptionValue
object
The product option value's details.
9 properties 2 required
StorePaymentSession
object
The payment session's details.
10 properties 6 required
StoreOrderLineItem
object
The item's details.
44 properties 39 required
StoreProductVariant
object
The variant's details.
28 properties 21 required
StoreOrderShippingMethod
object
The shipping method's details.
22 properties 18 required
StoreOrderAddress
object
An order address
16 properties 4 required
StoreProduct
object
The product's details.
31 properties 26 required
StoreDeclineOrderTransfer
object
The details of declining the order transfer request.
1 property 1 required
StoreProductOption
object
The product option's details.
10 properties 3 required
StoreProductImage
object
The image's details.
7 properties 3 required
StoreCustomer
object
The customer's details.
13 properties 8 required
StorePaymentProvider
object
The payment provider's details
1 property 1 required
StoreCollection
object
The collection's details.
9 properties 7 required
StoreOrder
object
The order's details.
48 properties 39 required
StoreCustomerAddress
object
The customer address's details
18 properties 18 required
StoreRegionCountry
object
The country's details.
6 properties 1 required
StorePaymentCollection
object
The payment collection's details.
14 properties 5 required
StoreOrderFulfillment
object
The fulfillment's details.
15 properties 15 required
StoreRequestOrderTransfer
object
The details of requesting the order transfer.
2 properties
StoreOrderResponse
object
The order's details.
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

medusa-orders-api-openapi.yml Raw ↑

Other APIs Medusa publishes across the network.

Medusa GraphQL API
Medusa MCP Remote Server
Medusa Api Keys API
Medusa Auth API
Medusa [auth Provider] API
Medusa Campaigns API
Medusa Carts API
Medusa Claims API
Medusa Collections API
Medusa Currencies API
Medusa Customer Groups API
Medusa Customers API
Where this information came from

This is an independent, third-party profile of Medusa Orders API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.