Line item contents of Purchase Vertical.
JSON representation | |
---|---|
{ "status": enum ( |
Fields | |
---|---|
status |
Required: Line item level status. |
userVisibleStatusLabel |
Required: User visible label/string for the status. Max allowed length is 50 chars. |
type |
Required: type of purchase. |
productId |
Product or offer id associated with this line item. |
quantity |
Quantity of the item. |
unitMeasure |
Unit measure. Specifies the size of the item in chosen units. The size, together with the active price is used to determine the unit price. |
returnsInfo |
Returns info for this line item. If unset, this line item inherits order level returns info. |
fulfillmentInfo |
Fulfillment info for this line item. If unset, this line item inherits order level fulfillment info. |
itemOptions[] |
Additional add-ons or sub-items. |
extension |
Any extra fields exchanged between merchant and google. An object containing fields of an arbitrary type. An additional field |
productDetails |
Details about the product. |
ItemOption
Represents add-ons or sub-items.
JSON representation | |
---|---|
{ "id": string, "name": string, "prices": [ { object ( |
Fields | |
---|---|
id |
For options that are items, unique item id. |
name |
Option name. |
prices[] |
Option total price. |
note |
Note related to the option. |
quantity |
For options that are items, quantity. |
productId |
Product or offer id associated with this option. |
subOptions[] |
To define other nested sub options. |