has_one
line_items

Retrieve the line item associated to the line item option

Retrieve the line item associated to the line item option

get/line_item_options/{lineItemOptionId}/line_item

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/line_item_options/{lineItemOptionId}/line_item
  • Auth
    HTTP bearer

Path parameters

lineItemOptionIdstring required

The resource's id

Response

The line_item associated to the line item option

Changes

No recorded changes to this operation across all 11 revisions of this API.