Org

Get Commerce Order

GET
/org/{orgId}/ecom/commerce/orders/{orderId}

Get one Cognis OLTP storefront order admin detail for an organization.

Required scopes: org:ecom:collections:read

Authorization

bearerAuth
AuthorizationBearer <token>

API key (prefix: cogn_) from Account → Developer

In: header

Path Parameters

orgId*string

Organization ID (prefix: org_)

orderId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.cognissuite.com/api/v1/org/string/ecom/commerce/orders/string"
{
  "success": true,
  "data": {
    "header": {
      "id": "ord_example",
      "orgId": "org_example",
      "brandId": "br_example",
      "brandName": "Example",
      "orderNumber": "1001",
      "orderSequence": 1,
      "source": "stripe_storefront",
      "financialStatus": "paid",
      "fulfillmentStatus": "unfulfilled",
      "internalStatus": "open",
      "internalStatusNote": null,
      "cancelledAt": null,
      "cancelReason": null,
      "cancelledByUserId": null,
      "requiresInventoryReview": false,
      "inventoryReviewReason": null,
      "email": "buyer@example.com",
      "currency": "USD",
      "subtotalMinor": 0,
      "taxMinor": 0,
      "shippingMinor": 0,
      "discountMinor": 0,
      "totalMinor": 0,
      "amountRefundedMinor": 0,
      "stripeCheckoutSessionId": null,
      "stripePaymentIntentId": null,
      "stripeIntegrationId": null,
      "livemode": false,
      "placedAt": "2026-01-01T00:00:00.000Z",
      "processedAt": null,
      "createdAt": "2026-01-01T00:00:00.000Z",
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "customerId": null,
      "invoicePdfStorageKey": null,
      "invoicePdfStorageType": null,
      "invoicePdfFinancialFingerprint": null,
      "shippingAddressJsonb": null,
      "billingAddressJsonb": null,
      "customerDetailsJsonb": null,
      "metadataJsonb": {}
    },
    "items": [],
    "shippingLines": [],
    "discounts": [],
    "taxLines": [],
    "payments": [],
    "refunds": [],
    "disputes": [],
    "shipments": [],
    "returns": []
  },
  "message": "Success",
  "traceId": "req_abc123"
}
{
  "success": false,
  "message": "Invalid data",
  "errors": [
    {
      "code": 400,
      "message": "Invalid data"
    }
  ],
  "traceId": "req_xxx"
}
{
  "success": false,
  "message": "Unauthorized",
  "errors": [
    {
      "code": 401,
      "message": "Unauthorized"
    }
  ],
  "traceId": "req_xxx"
}
{
  "success": false,
  "message": "Forbidden",
  "errors": [
    {
      "code": 403,
      "message": "Forbidden"
    }
  ],
  "traceId": "req_xxx"
}
{
  "success": false,
  "message": "Not found",
  "errors": [
    {
      "code": 404,
      "message": "Not found"
    }
  ],
  "traceId": "req_xxx"
}
{
  "success": false,
  "message": "Conflict",
  "errors": [
    {
      "code": 409,
      "message": "Conflict"
    }
  ],
  "traceId": "req_xxx"
}
{
  "success": false,
  "message": "string",
  "errors": [
    {
      "code": 0,
      "message": "string",
      "details": {}
    }
  ],
  "traceId": "string",
  "params": {},
  "readableMessage": "string"
}
{
  "success": false,
  "message": "Rate limit exceeded",
  "errors": [],
  "traceId": "req_xxx"
}
{
  "success": false,
  "message": "Unexpected error",
  "errors": [
    {
      "code": 500,
      "message": "Unexpected error"
    }
  ],
  "traceId": "req_xxx"
}