Ordergroove

App · 26 actions

Manage Ordergroove subscriptions and upcoming orders: change frequency, dates, quantity and products, skip, send now or cancel.

Actions

ActionWhat it does
Add a product to an orderAdd a one-time product to the customer's order on a date, or make a new order for it if none matches.
Cancel a subscriptionCancel a subscription and its upcoming shipments.
Cancel an orderCancel an upcoming order.
Change a subscription's frequencyChange how often a subscription places an order.
Change a subscription's productSwap the product a live subscription sends.
Change a subscription's quantityChange how many of the product each order of a subscription sends.
Change an item's quantityChange how many of a product an order item sends.
Change an order's dateMove one upcoming order to another day.
Change the next order dateMove a subscription's next upcoming order to another date.
Create a subscription from an order itemTurn an item on an order into a subscription that repeats at the frequency you choose.
Get a customerGet one customer by their ID in your store.
Get a productGet one product with its price, default frequency and whether it can be subscribed to.
Get a subscriptionGet one subscription with its product, quantity, frequency and status.
Get an orderGet one order with its status, place date and totals.
List addressesList customers' shipping addresses, for one customer or the whole store.
List customersList the store's subscribers.
List order itemsList the items on orders: by order, by subscription or by product.
List ordersList orders, upcoming and past, for one customer or the whole store.
List payment methodsList customers' saved payment methods, for one customer or the whole store.
List productsList the store's products that can be subscribed to.
List subscriptionsList subscriptions, for one customer or the whole store.
Reactivate a subscriptionTurn a cancelled subscription back on, with its frequency and start date.
Remove an item from an orderRemove an item from its order.
Send an order nowPlace an upcoming order within the next 24 hours instead of on its date.
Skip a subscription in an orderTake one subscription's items out of an upcoming order and make its next order instead.
Update a subscriptionSet a subscription's price, offer or extra data.

Add a product to an order

Add a one-time product to the customer's order on a date, or make a new order for it if none matches.

Inputs

Customercustomer_idtextRequired
The customer to add the product for.
Shipping addressshipping_address_idtextRequired
One of the customer's addresses.
Payment methodpayment_idtextRequired
One of the customer's payment methods.
Offer IDoffer_idtextRequired
The offer the item is added under, as on the customer's subscriptions.
Productproduct_idtextRequired
The product to add.
Order dateplace_datedateRequired
The date of the order to add it to.
QuantityquantitynumberRequired
How many to add.At least 1.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "extra_cost": "example",
    "first_placed": "example",
    "frozen": true,
    "offer": "example",
    "one_time": true,
    "order": "example",
    "order_updated": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "subscription": "example",
    "total_price": "example"
  }
}

Cancel a subscription

Cancel a subscription and its upcoming shipments. A prepaid subscription with orders left can't be cancelled.

Inputs

Subscriptionsubscription_idtextRequired
The subscription to change.
Cancel reason codecancel_reason_codenumber
Your store's cancel reason code, such as 4.At least 0.
Cancel reason detailscancel_reason_detailstext
More about why, such as Overstocked.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancel_reason": "example",
    "cancel_reason_code": 1,
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "every": 1,
    "every_period": 1,
    "external_id": "example",
    "extra_data": {},
    "frequency_days": 1,
    "live": true,
    "merchant": "example",
    "merchant_order_id": "example",
    "offer": "example",
    "payment": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "reminder_days": 1,
    "shipping_address": "example",
    "start_date": "example",
    "subscription_type": "example",
    "updated": "example"
  }
}

Cancel an order

Cancel an upcoming order. Its subscriptions go on: the next order is made at their frequency.

Inputs

Orderorder_idtextRequired
The order to change.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "discount_total": "example",
    "locked": true,
    "merchant": "example",
    "order_merchant_id": "example",
    "payment": "example",
    "place": "example",
    "public_id": "example",
    "rejected_message": "example",
    "shipping_address": "example",
    "shipping_total": "example",
    "status": 1,
    "sub_total": "example",
    "tax_total": "example",
    "total": "example",
    "tries": 1,
    "type": 1,
    "updated": "example"
  }
}

Change a subscription's frequency

Change how often a subscription places an order.

Inputs

Subscriptionsubscription_idtextRequired
The subscription to change.
EveryeverynumberRequired
How many periods between orders: 4 with Weeks sends every 4 weeks.At least 1.
Periodevery_periodnumberRequired
The period between orders.One of: 1 (Days), 2 (Weeks), 3 (Months).

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancel_reason": "example",
    "cancel_reason_code": 1,
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "every": 1,
    "every_period": 1,
    "external_id": "example",
    "extra_data": {},
    "frequency_days": 1,
    "live": true,
    "merchant": "example",
    "merchant_order_id": "example",
    "offer": "example",
    "payment": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "reminder_days": 1,
    "shipping_address": "example",
    "start_date": "example",
    "subscription_type": "example",
    "updated": "example"
  }
}

Change a subscription's product

Swap the product a live subscription sends. Past orders keep the old product; upcoming ones get the new one.

Inputs

Subscriptionsubscription_idtextRequired
The subscription to change.
New productproduct_idtextRequired
The product to send instead.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancel_reason": "example",
    "cancel_reason_code": 1,
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "every": 1,
    "every_period": 1,
    "external_id": "example",
    "extra_data": {},
    "frequency_days": 1,
    "live": true,
    "merchant": "example",
    "merchant_order_id": "example",
    "offer": "example",
    "payment": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "reminder_days": 1,
    "shipping_address": "example",
    "start_date": "example",
    "subscription_type": "example",
    "updated": "example"
  }
}

Change a subscription's quantity

Change how many of the product each order of a subscription sends. Prepaid subscriptions can't change quantity.

Inputs

Subscriptionsubscription_idtextRequired
The subscription to change.
QuantityquantitynumberRequired
The new quantity.At least 1.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancel_reason": "example",
    "cancel_reason_code": 1,
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "every": 1,
    "every_period": 1,
    "external_id": "example",
    "extra_data": {},
    "frequency_days": 1,
    "live": true,
    "merchant": "example",
    "merchant_order_id": "example",
    "offer": "example",
    "payment": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "reminder_days": 1,
    "shipping_address": "example",
    "start_date": "example",
    "subscription_type": "example",
    "updated": "example"
  }
}

Change an item's quantity

Change how many of a product an order item sends.

Inputs

Item IDitem_idtextRequired
The order item to change, from List order items.
QuantityquantitynumberRequired
The new quantity.At least 1.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "extra_cost": "example",
    "first_placed": "example",
    "frozen": true,
    "offer": "example",
    "one_time": true,
    "order": "example",
    "order_updated": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "subscription": "example",
    "total_price": "example"
  }
}

Change an order's date

Move one upcoming order to another day. It places at your store's usual placement time that day.

Inputs

Orderorder_idtextRequired
The order to change.
New dateplacedateRequired
The new date.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "discount_total": "example",
    "locked": true,
    "merchant": "example",
    "order_merchant_id": "example",
    "payment": "example",
    "place": "example",
    "public_id": "example",
    "rejected_message": "example",
    "shipping_address": "example",
    "shipping_total": "example",
    "status": 1,
    "sub_total": "example",
    "tax_total": "example",
    "total": "example",
    "tries": 1,
    "type": 1,
    "updated": "example"
  }
}

Change the next order date

Move a subscription's next upcoming order to another date.

Inputs

Subscriptionsubscription_idtextRequired
The subscription to change.
Next order dateorder_datedateRequired
The new date of the next order. It must be in the future.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancel_reason": "example",
    "cancel_reason_code": 1,
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "every": 1,
    "every_period": 1,
    "external_id": "example",
    "extra_data": {},
    "frequency_days": 1,
    "live": true,
    "merchant": "example",
    "merchant_order_id": "example",
    "offer": "example",
    "payment": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "reminder_days": 1,
    "shipping_address": "example",
    "start_date": "example",
    "subscription_type": "example",
    "updated": "example"
  }
}

Create a subscription from an order item

Turn an item on an order into a subscription that repeats at the frequency you choose.

Inputs

Item IDitem_idtextRequired
The order item to subscribe to, from List order items.
EveryeverynumberRequired
How many periods between orders: 4 with Weeks sends every 4 weeks.At least 1.
Periodevery_periodnumberRequired
The period between orders.One of: 1 (Days), 2 (Weeks), 3 (Months).
Offer IDoffer_idtext
The offer to subscribe under. Leave empty for the item's own offer.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancel_reason": "example",
    "cancel_reason_code": 1,
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "every": 1,
    "every_period": 1,
    "external_id": "example",
    "extra_data": {},
    "frequency_days": 1,
    "live": true,
    "merchant": "example",
    "merchant_order_id": "example",
    "offer": "example",
    "payment": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "reminder_days": 1,
    "shipping_address": "example",
    "start_date": "example",
    "subscription_type": "example",
    "updated": "example"
  }
}

Get a customer

Get one customer by their ID in your store.

Inputs

Customercustomer_idtextRequired
The customer to read: their ID in your store.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "created": "example",
    "email": "example",
    "first_name": "example",
    "last_login": "example",
    "last_name": "example",
    "last_updated": "example",
    "live": true,
    "merchant": "example",
    "merchant_user_id": "example",
    "phone_number": "example",
    "price_code": "example"
  }
}

Get a product

Get one product with its price, default frequency and whether it can be subscribed to.

Inputs

Productproduct_idtextRequired
The product to read: its product ID in your store.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "autoship_by_default": true,
    "autoship_enabled": true,
    "created": "example",
    "detail_url": "example",
    "discontinued": true,
    "every": 1,
    "every_period": 1,
    "external_product_id": "example",
    "image_url": "example",
    "last_update": "example",
    "live": true,
    "name": "example",
    "offer_profile": "example",
    "prepaid_eligible": true,
    "price": "example",
    "product_type": "example",
    "sku": "example"
  }
}

Get a subscription

Get one subscription with its product, quantity, frequency and status.

Inputs

Subscriptionsubscription_idtextRequired
The subscription to read.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancel_reason": "example",
    "cancel_reason_code": 1,
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "every": 1,
    "every_period": 1,
    "external_id": "example",
    "extra_data": {},
    "frequency_days": 1,
    "live": true,
    "merchant": "example",
    "merchant_order_id": "example",
    "offer": "example",
    "payment": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "reminder_days": 1,
    "shipping_address": "example",
    "start_date": "example",
    "subscription_type": "example",
    "updated": "example"
  }
}

Get an order

Get one order with its status, place date and totals.

Inputs

Orderorder_idtextRequired
The order to read.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "discount_total": "example",
    "locked": true,
    "merchant": "example",
    "order_merchant_id": "example",
    "payment": "example",
    "place": "example",
    "public_id": "example",
    "rejected_message": "example",
    "shipping_address": "example",
    "shipping_total": "example",
    "status": 1,
    "sub_total": "example",
    "tax_total": "example",
    "total": "example",
    "tries": 1,
    "type": 1,
    "updated": "example"
  }
}

List addresses

List customers' shipping addresses, for one customer or the whole store.

Inputs

Customercustomer_idtext
Only this customer's records.
Activelivetrue/false
Only active addresses, or only inactive ones.
Page sizepage_sizenumber
How many addresses to return, up to 100.From 1 to 100. Default: 25.
Cursorcursortext
The next_cursor of the previous page, to read the next one.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "next_cursor": "example",
    "results": [
      {
        "address": "example",
        "address2": "example",
        "city": "example",
        "company_name": "example",
        "country_code": "example",
        "created": "example",
        "customer": "example",
        "first_name": "example",
        "label": "example",
        "last_name": "example",
        "live": true,
        "phone": "example",
        "public_id": "example",
        "state_province_code": "example",
        "updated": "example",
        "zip_postal_code": "example"
      }
    ]
  }
}

List customers

List the store's subscribers. Find one by email address.

Inputs

Emailemailtext
Only the customer with this email address.
Activelivetrue/false
Only active customers, or only inactive ones.
Created sincecreated_sincedate and time
Only customers who signed up at or after this time.
Updated sinceupdated_sincedate and time
Only customers changed at or after this time.
Page sizepage_sizenumber
How many customers to return, up to 100.From 1 to 100. Default: 25.
Cursorcursortext
The next_cursor of the previous page, to read the next one.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "next_cursor": "example",
    "results": [
      {
        "created": "example",
        "email": "example",
        "first_name": "example",
        "last_login": "example",
        "last_name": "example",
        "last_updated": "example",
        "live": true,
        "merchant": "example",
        "merchant_user_id": "example",
        "phone_number": "example",
        "price_code": "example"
      }
    ]
  }
}

List order items

List the items on orders: by order, by subscription or by product.

Inputs

Orderorder_idtext
Only the items on this order.
Subscriptionsubscription_idtext
Only this subscription's items.
Productproduct_idtext
Only items of this product.
Order statusstatusnumber
Only items on orders with this status.One of: 1 (Unsent (upcoming)), 3 (Rejected), 4 (Cancelled), 5 (Placed successfully), 6 (Send now), 9 (Waiting for a batch response), 10 (Waiting for verification), 11 (Waiting to be placed), 12 (Failed before placement), 13 (Connection error during placement), and 6 more.
Page sizepage_sizenumber
How many items to return, up to 100.From 1 to 100. Default: 25.
Cursorcursortext
The next_cursor of the previous page, to read the next one.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "next_cursor": "example",
    "results": [
      {
        "extra_cost": "example",
        "first_placed": "example",
        "frozen": true,
        "offer": "example",
        "one_time": true,
        "order": "example",
        "order_updated": "example",
        "price": "example",
        "product": "example",
        "public_id": "example",
        "quantity": 1,
        "subscription": "example",
        "total_price": "example"
      }
    ]
  }
}

List orders

List orders, upcoming and past, for one customer or the whole store. Filter by subscription, status or dates.

Inputs

Customercustomer_idtext
Only this customer's records.
Subscriptionsubscription_idtext
Only orders with this subscription's items.
Statusstatusnumber
Only orders with this status.One of: 1 (Unsent (upcoming)), 3 (Rejected), 4 (Cancelled), 5 (Placed successfully), 6 (Send now), 9 (Waiting for a batch response), 10 (Waiting for verification), 11 (Waiting to be placed), 12 (Failed before placement), 13 (Connection error during placement), and 6 more.
Place date fromplace_fromdate
Only orders placed, or to be placed, on or after this date.
Place date toplace_todate
Only orders placed, or to be placed, on or before this date.
Created sincecreated_sincedate and time
Only orders created at or after this time.
Updated sinceupdated_sincedate and time
Only orders changed at or after this time.
Page sizepage_sizenumber
How many orders to return, up to 100.From 1 to 100. Default: 25.
Cursorcursortext
The next_cursor of the previous page, to read the next one.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "next_cursor": "example",
    "results": [
      {
        "cancelled": "example",
        "created": "example",
        "currency_code": "example",
        "customer": "example",
        "discount_total": "example",
        "locked": true,
        "merchant": "example",
        "order_merchant_id": "example",
        "payment": "example",
        "place": "example",
        "public_id": "example",
        "rejected_message": "example",
        "shipping_address": "example",
        "shipping_total": "example",
        "status": 1,
        "sub_total": "example",
        "tax_total": "example",
        "total": "example",
        "tries": 1,
        "type": 1,
        "updated": "example"
      }
    ]
  }
}

List payment methods

List customers' saved payment methods, for one customer or the whole store. Card numbers show only their last digits.

Inputs

Customercustomer_idtext
Only this customer's records.
Page sizepage_sizenumber
How many payment methods to return, up to 100.From 1 to 100. Default: 25.
Cursorcursortext
The next_cursor of the previous page, to read the next one.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "next_cursor": "example",
    "results": [
      {
        "billing_address": "example",
        "cc_exp_date": "example",
        "cc_holder": "example",
        "cc_number_ending": "example",
        "cc_type": 1,
        "created": "example",
        "customer": "example",
        "label": "example",
        "last_updated": "example",
        "live": true,
        "payment_method": "example",
        "public_id": "example"
      }
    ]
  }
}

List products

List the store's products that can be subscribed to. Search by name, SKU or product ID.

Inputs

Searchsearchtext
Text to find in the product's name, SKU or product ID.
Include discontinuedinclude_discontinuedtrue/false
Also list discontinued products.
Page sizepage_sizenumber
How many products to return, up to 100.From 1 to 100. Default: 25.
Cursorcursortext
The next_cursor of the previous page, to read the next one.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "next_cursor": "example",
    "results": [
      {
        "autoship_by_default": true,
        "autoship_enabled": true,
        "created": "example",
        "detail_url": "example",
        "discontinued": true,
        "every": 1,
        "every_period": 1,
        "external_product_id": "example",
        "image_url": "example",
        "last_update": "example",
        "live": true,
        "name": "example",
        "offer_profile": "example",
        "prepaid_eligible": true,
        "price": "example",
        "product_type": "example",
        "sku": "example"
      }
    ]
  }
}

List subscriptions

List subscriptions, for one customer or the whole store. Filter by status, product or when they were created or changed.

Inputs

Customercustomer_idtext
Only this customer's records.
Activelivetrue/false
Only active subscriptions, or only inactive ones.
Productproduct_idtext
Only subscriptions to this product.
Created on or aftercreated_fromdate
Only subscriptions created on or after this date.
Updated sinceupdated_sincedate and time
Only subscriptions changed at or after this time.
Page sizepage_sizenumber
How many subscriptions to return, up to 100.From 1 to 100. Default: 25.
Cursorcursortext
The next_cursor of the previous page, to read the next one.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "next_cursor": "example",
    "results": [
      {
        "cancel_reason": "example",
        "cancel_reason_code": 1,
        "cancelled": "example",
        "created": "example",
        "currency_code": "example",
        "customer": "example",
        "every": 1,
        "every_period": 1,
        "external_id": "example",
        "extra_data": {},
        "frequency_days": 1,
        "live": true,
        "merchant": "example",
        "merchant_order_id": "example",
        "offer": "example",
        "payment": "example",
        "price": "example",
        "product": "example",
        "public_id": "example",
        "quantity": 1,
        "reminder_days": 1,
        "shipping_address": "example",
        "start_date": "example",
        "subscription_type": "example",
        "updated": "example"
      }
    ]
  }
}

Reactivate a subscription

Turn a cancelled subscription back on, with its frequency and start date.

Inputs

Subscriptionsubscription_idtextRequired
The subscription to change.
EveryeverynumberRequired
How many periods between orders: 4 with Weeks sends every 4 weeks.At least 1.
Periodevery_periodnumberRequired
The period between orders.One of: 1 (Days), 2 (Weeks), 3 (Months).
Start datestart_datedateRequired
When the subscription becomes active again.
Next order datenext_order_datedate
When the first order after reactivating is placed. Leave empty for the start date plus the frequency.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancel_reason": "example",
    "cancel_reason_code": 1,
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "every": 1,
    "every_period": 1,
    "external_id": "example",
    "extra_data": {},
    "frequency_days": 1,
    "live": true,
    "merchant": "example",
    "merchant_order_id": "example",
    "offer": "example",
    "payment": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "reminder_days": 1,
    "shipping_address": "example",
    "start_date": "example",
    "subscription_type": "example",
    "updated": "example"
  }
}

Remove an item from an order

Remove an item from its order.

Inputs

Item IDitem_idtextRequired
The order item to remove, from List order items.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {}
}

Send an order now

Place an upcoming order within the next 24 hours instead of on its date.

Inputs

Orderorder_idtextRequired
The order to change.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "discount_total": "example",
    "locked": true,
    "merchant": "example",
    "order_merchant_id": "example",
    "payment": "example",
    "place": "example",
    "public_id": "example",
    "rejected_message": "example",
    "shipping_address": "example",
    "shipping_total": "example",
    "status": 1,
    "sub_total": "example",
    "tax_total": "example",
    "total": "example",
    "tries": 1,
    "type": 1,
    "updated": "example"
  }
}

Skip a subscription in an order

Take one subscription's items out of an upcoming order and make its next order instead.

Inputs

Orderorder_idtextRequired
The order to change.
Subscriptionsubscription_idtextRequired
The subscription to skip in this order.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "discount_total": "example",
    "locked": true,
    "merchant": "example",
    "order_merchant_id": "example",
    "payment": "example",
    "place": "example",
    "public_id": "example",
    "rejected_message": "example",
    "shipping_address": "example",
    "shipping_total": "example",
    "status": 1,
    "sub_total": "example",
    "tax_total": "example",
    "total": "example",
    "tries": 1,
    "type": 1,
    "updated": "example"
  }
}

Update a subscription

Set a subscription's price, offer or extra data.

Inputs

Subscriptionsubscription_idtextRequired
The subscription to change.
Pricepricenumber
The subscription's price, such as 19.99.At least 0.
Offer IDoffer_idtext
The public ID of the offer to move the subscription to.
Extra dataextra_dataobject
Custom data to store on the subscription, as key and value pairs.

Outputs

dataobject
The response from Ordergroove.
Example output
{
  "data": {
    "cancel_reason": "example",
    "cancel_reason_code": 1,
    "cancelled": "example",
    "created": "example",
    "currency_code": "example",
    "customer": "example",
    "every": 1,
    "every_period": 1,
    "external_id": "example",
    "extra_data": {},
    "frequency_days": 1,
    "live": true,
    "merchant": "example",
    "merchant_order_id": "example",
    "offer": "example",
    "payment": "example",
    "price": "example",
    "product": "example",
    "public_id": "example",
    "quantity": 1,
    "reminder_days": 1,
    "shipping_address": "example",
    "start_date": "example",
    "subscription_type": "example",
    "updated": "example"
  }
}

On this page