Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
31 lines
881 B
YAML
31 lines
881 B
YAML
title: Fulfillment Item
|
|
description: This represents the association between a Line Item and a Fulfillment.
|
|
type: object
|
|
required:
|
|
- fulfillment_id
|
|
- item_id
|
|
- quantity
|
|
properties:
|
|
fulfillment_id:
|
|
description: The ID of the Fulfillment that the Fulfillment Item belongs to.
|
|
type: string
|
|
example: ful_01G8ZRTMQCA76TXNAT81KPJZRF
|
|
item_id:
|
|
description: The ID of the Line Item that the Fulfillment Item references.
|
|
type: string
|
|
example: item_01G8ZC9GWT6B2GP5FSXRXNFNGN
|
|
fulfillment:
|
|
description: The details of the fulfillment.
|
|
x-expandable: fulfillment
|
|
nullable: true
|
|
type: object
|
|
item:
|
|
description: The details of the line item.
|
|
x-expandable: item
|
|
nullable: true
|
|
$ref: ./LineItem.yaml
|
|
quantity:
|
|
description: The quantity of the Line Item that is included in the Fulfillment.
|
|
type: integer
|
|
example: 1
|