OrderItems

Returns details of a specific order item

get/order_items/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The resource's ID, as returned in its id field

Query parameters

expand, string

Comma-separated relations to expand: order, price_variant, product

Response

Order item details

OrderItem required
id, string required
object, string required
quantity, integer required
amount, integer required
order, union

ID by default, full object when expanded

price_variant, union required

ID by default, full object when expanded

product, union required

ID by default, full object when expanded

Changes

    • info

      added the required property price_variant/oneOf[#/components/schemas/PriceVariant]/cross_sells to the response with the status

    • info

      added the required property product/oneOf[#/components/schemas/Product]/price_variants/items/cross_sells to the response with the status

    • info

      added the required property product/oneOf[#/components/schemas/Product]/tax_code to the response with the status