PUT
/
api
/
v1
/
products
/
{id}
curl --request PUT \
  --url https://app.flowglad.com/api/v1/products/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "product": {
    "livemode": true,
    "name": "<string>",
    "description": "<string>",
    "imageURL": "<string>",
    "organizationId": "<string>",
    "displayFeatures": [
      {
        "enabled": true,
        "label": "<string>",
        "details": "<string>"
      }
    ],
    "active": true,
    "singularQuantityLabel": "<string>",
    "pluralQuantityLabel": "<string>",
    "catalogId": "<string>",
    "id": "<string>"
  },
  "price": {
    "livemode": true,
    "intervalUnit": "day",
    "name": "<string>",
    "intervalCount": 123,
    "type": "subscription",
    "trialPeriodDays": 123,
    "setupFeeAmount": 123,
    "isDefault": true,
    "unitPrice": 123,
    "productId": "<string>",
    "active": true,
    "currency": "USD",
    "id": "<string>"
  }
}'
{
  "product": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "livemode": true,
    "name": "<string>",
    "description": "<string>",
    "imageURL": "<string>",
    "organizationId": "<string>",
    "displayFeatures": [
      {
        "enabled": true,
        "label": "<string>",
        "details": "<string>"
      }
    ],
    "active": true,
    "singularQuantityLabel": "<string>",
    "pluralQuantityLabel": "<string>",
    "catalogId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Body

application/json
product
object
required
price
object
required

A price record, which describes a price for a product. Products can have multiple prices.

Response

200
application/json
Successful response
product
object
required