Skip to main content

Order Status by id

GET 

/v2/:id

Shows information about an existing order and its products by Bonsai order id. This endpoint allows API users to get current information on the fulfillment status of their orders.

Request

Path Parameters

    id stringrequired

    Public ID of the order.

    Example: cldbvy7gt0006hpzo9nyw72ks

Responses

Success

Schema
    data object
    id stringrequired

    Public ID of the order.

    orderNumber floatrequired

    Customer order number.

    externalId string

    ID of the order provided to Bonsai by the party who placed the order. This can be anything you like, but should be unique per order.

    fulfillmentStatus stringrequired

    Possible values: [pending, fulfilled, Partially Fulfilled, cancelled, sent to merchant, failed (merchant), failed (unknown), failed (payment), cancelled (payment), failed (payment validation), payment successful, failed (inventory), failed (inventory - related)]

    Fulfillment status of the order

    products object[]
  • Array [
  • id stringrequired

    Product ID.

    variantId stringrequired

    The ID of the product variant.

    quantity floatrequired

    Possible values: >= 1

    Quantity of the product variant.

    merchantOrderId stringnullablerequired

    The merchant order ID. External to Bonsai. Empty if the order has not yet been placed on external merchant system.

    fulfillmentStatus stringrequired

    Possible values: [pending, fulfilled, Partially Fulfilled, cancelled, sent to merchant, failed (merchant), failed (unknown), failed (payment), cancelled (payment), failed (payment validation), payment successful, failed (inventory), failed (inventory - related)]

    Fulfillment status of the individual product variant in the order.

    paymentStatus stringrequired

    Possible values: [unpaid, paid, refunded, partially refunded]

    Payment status for the related order.

  • ]
  • shippingTracking object[]
  • Array [
  • carrier stringrequired

    The name of the shipping carrier.

    trackingNumber stringrequired

    The tracking number for the shipment.

    trackingUrl stringrequired

    The URL to track the shipment.

    products object[]
  • Array [
  • id stringrequired

    Product ID.

    variantId stringrequired

    The ID of the product variant.

    quantity floatrequired

    Possible values: >= 1

    Quantity of the product variant.

  • ]
  • ]
  • customer objectrequired
    email emailrequired

    Customer email

    firstName string

    Customer's first name

    lastName string

    Customer's last name

    note string

    Note containing extra information for our team

Loading...