AdminPostDraftOrdersDraftOrderLineItemsReq
internal.internal.AdminPostDraftOrdersDraftOrderLineItemsReq
Schema
AdminPostDraftOrdersDraftOrderLineItemsReq type: object required:
- quantity
properties:
variant_id:
description: The ID of the Product Variant associated with the line item. If the line item is custom, the
variant_id
should be omitted. type: string unit_price: description: The custom price of the line item. If avariant_id
is supplied, the price provided here will override the variant's price. type: integer title: description: The title of the line item ifvariant_id
Learn about the metadata attribute, and how to delete and update it.
Properties
metadata
Record<string, unknown>quantity
numberRequiredtitle
stringunit_price
numbervariant_id
stringWas this section helpful?