Product billing data object specification for the Merchant API
Product billing represents a product's billing cycle information. A sample call for viewing a subscription's billing information might be http://api.cratejoy.com/v1/subscription/{ID}/?with=billing
.
Properties
Property | Filter | Edit | Type | Description |
---|---|---|---|---|
id | INT | Unique identifier | ||
rebill_day | INT | The day of the month on which the subscription renews for monthly products, null for ad-hoc subscriptions. The day of the week on which the subscription renews for weekly products. |
||
rebill_months | INT | How often the subscription product is sent. E.g. 1 for monthly products, and 3 for quarterly products. |
||
rebill_weeks | INT | For weekly products, how often the subscription product is sent. null for all monthly or quarterly products. |
||
rebill_window | INT | The number of days in the subscription product's cutoff window.null for ad-hoc products. |
||
store_id | INT | The Cratejoy store ID | ||
type | STRING | Always product_billing |