The Subscribe Pro extension uses several extension attributes that are added to the quote item and order item objects. These attributes power the subscription widget on the PDP and in the cart, and the subscription creation, cart price rule, and recurring ordering functionality.
Developers can use these fields to customize third-party integrations that need to know about subscription information.
|Boolean||As of extension version 1.2.0, this attribute is a flag determining whether or not a new subscription should be created at checkout for the line item. By default this is |
|Boolean||As of extension version 1.2.0, this attribute is a flag determining whether the line item on the quote/order is fulfilling a scheduled recurring order for a subscription. This should be |
|Boolean||As of extension version 1.2.0, this attribute is a flag determining whether the line item on the quote/order was added by Subscribe Pro.|
|String||This field is set by the subscription widget on the product details age and in the cart, and by the Subscribe Pro order placement process to designate which subscription interval is selected for this subscription.|
|Integer||This attribute contains the subscription ID associated with the line item, for both new and recurring orders.|
|Integer||This field represents the number of recurring orders Subscribe Pro has placed for the subscription associated with the current line item, and is available as a conditional attribute for Cart Price Rules. This count includes the order currently being placed.|
|Date||As of version 1.2.0, this attribute contains the date of the next scheduled order following this one in the subscription's recurring order schedule. The actual date may change after it is saved in this attribute, and any changes will not be reflected here.|
|Decimal||As of version 1.2.0, when present, the value of this attribute is used to override the catalog price of the product being added in the cart.|
|String||As of version 1.2.0, this is only used for controlling the subscription widget on the quote item. This field is not present on the order item. Possible values are |