Skip to main content

Get Order

GET 

/commerce/orders/:orderId

Get order for a specified connection

Request

Path Parameters

    orderId stringrequired

    The order ID of the order item

Query Parameters

    credentialId stringrequired

    The ID of the credential.

Header Parameters

    Authorization stringrequired

    Default value: bearer YOUR_API_KEY

Responses

200

Schema

    order

    object

    id string
    remoteId string
    orderStatus string

    lineItems

    object[]

  • Array [

  • quantity integer

    Default value: 0

    productId string
    price string
    unitCost string
    currency string
    variantId string
    title string
    sku string
  • ]

  • orderNumber string
    paymentStatus string

    customer

    object

    customerId string
    firstName string
    lastName string
    phone string
    email string
    currency string
    totalPrice string
    totalDiscount string
    totalShipping string
    totalTax string
    fulfillmentStatus string
    remoteCreatedAt string
    remoteUpdatedAt string
    remoteDeleted boolean

    Default value: true

    createdAt string
    updatedAt string
Loading...