patch https://restapi.ordergroove.com/products/<external_product_id>/
Updates an existing product.
Authentication
Response Body Definitions
Name | Type | Description | Example |
---|---|---|---|
name | string | Product Name | "Example Product Name" |
external_product_id | string | Product ID | "0070000693" |
sku | string | Product SKU | "6b759bf8775511eeb9620242ac120002" |
price | double | Product price | 38.59 |
live | boolean | Product liveliness | true |
image_url | string | Product image url | "https://example.com/product_image.png" |
detail_url | string | Product detail url | "https://example.com/product_url/" |
autoship_enabled | boolean | Product autoship eligibility | true |
prepaid_eligible | boolean | Product prepaid eligibility | true |
discontinued | boolean | Product discontinued status | false |
autoship_by_default | boolean | Product default autoship | True |
product_type | string | Product type: "standard", "bundle", "club" | "standard" |
every | int | Number of periods | 1 |
every_period | int | Type of periods | 1 |
premier_enabled | int | Product premier: 0 for Disabled, 1 for Enabled, 2 for Tier | 1 |
extra_data | string | Raw JSON string that should be JSON.parse() as key/value store for any extra information. | {"some": "extra", "fields": "here} |
offer_profile | string | Offer profile id | "9eb7306a775711eeb9620242ac120002" |
incentive_group | string | Incentive group id | "b22fc760775711eeb9620242ac121232" |