Docs
Management API
Order Consignments

Order Consignments

Get Consignments

GET /orders/{order_id}/consignments

Request

Get all consignments for an order.

Authentication

  • X-Auth-Token in header
    required

Parameters

  • store_hash in path - string
  • include in query - array
    • consignments.line_items - include the response returned from the request to the /orders/{order_id}/products endpoint in consignments.

    Type: array[string]

    Allowed: consignments.line_items

  • order_id in path - integer
    required

    ID of the order.

example

Response

OK

Body

object | application/json
  • pickups
    array[object]

    Pickup consignments.

  • shipping
    array[object]

    Shipping consignments.

  • downloads
    array[object]

    Digital consignments for products that are downloaded.

  • email
    object

    Email consignments for gift certificates.

Pickup Consignments

Get Consignment Shipping Quotes

GET /orders/{order_id}/consignments/shipping/{shipping_consignment_id}/shipping_quotes

Request

Get all shipping quotes persisted on an order for a shipping consignment. This is a read-only endpoint whose response depends on the shipping quote. You can only generate a shipping quote using the storefront at this time. Orders that are created in the control panel, or using the API, return a 204 status response since you can't generate a shipping quote during that process.

Authentication

  • X-Auth-Token in header
    required

Parameters

  • store_hash in path - string
  • order_id in path - integer
    required

    ID of the order.

  • shipping_consignment_id in path - integer
    required

    Shipping consignment ID.

example

Response

OK

Body

object | application/json
  • id
    string

    ID of the shipping quote.

    Example: 24

  • uuid
    string

    UUID of the shipping quote.

    Example: a72acc8d-504b-4a40-8534-7c54d997ed59

  • timestamp
    string

    Time the order was created in RFC 2822 format.

  • shipping_provider_id
    string

    ID of the shipping provider.

    Example: bcstatic

  • shipping_provider_quote
    array[object]

    This can vary based on the shipping provider. Manual shipping methods such as fixed will return an empty array. Shipping providers such as UPS will return an object with the shipping information. Since the shipping quote is tied to a shipping address only one quote will return in the response.

  • provider_code
    string

    Code of the shipping provider.

    Example: shipping_byweight

  • carrier_code
    string

    Code of the shipping carrier.

  • rate_code
    string

    Type of delivery. This can vary based on shipping quote.

  • rate_id
    string

    This can vary based on shipping quote.

  • method_id
    integer

    Shipping method ID

Fixed Shipping

Fedex

Did you find what you were looking for?