RCUR API docs
Back to RCURSupport
  • Getting Started
    • Authentication
    • Rate limits
  • Customers API
    • List customers
    • Get customer
    • Create customer
    • Update customer
    • Delete customer
  • Customer Mandates API
    • List mandates
    • Get mandate
    • Create mandate
    • Revoke mandate
  • Subscriptions API
    • List subscriptions
    • Get subscription
    • Create subscription
    • Cancel subscription
  • Links API
    • List links
    • Get link
    • Delete link
  • Follow-ups API
    • List follow-ups
    • Get follow-up
    • Update follow-up
  • Orders API
    • List orders
    • Get order
  • Products API
    • List products
    • Get product
    • Create product
    • Update product
    • Delete product
  • Payments API
    • List payments
    • Get payment
  • Organizations API
    • Me
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Products API

Update product

PATCH https://rcur.app/api/v2/products/{id}

Path Parameters

Name
Type
Description

{id}*

String

The ID of the product

Request Body

Name
Type
Description

name

String

The name of the product

amount

Double

The amount of the product. Example: 14.99

vat

Integer | String

The VAT in percentage. If using an invoice integration, use the ID of the Get VAT response.

interval

String

Only applicable if type is subscription Possible values: months weeks days years

interval_value

Integer

Only applicable if type is subscription The quantity of the interval. For example, when interval is set to months and interval_value to 1 it will be a monthly product.

times

Integer

Only applicable when type is subscription . When set to null or 0, the product subscription will be continuously.

woocommerce_product_id

Integer

Only applicable when WooCommerce integration enabled. The product ID or variation ID of the WooCommerce product.

{
    // See Get product respons
}
{
    "status": 422,
    "error": "Could not update product. Some fields contain invalid data",
    "fields": {
        "amount": [
            "The amount must be a number."
        ]
    }
}

Last updated 2 years ago

Was this helpful?