Skip to main content
PUT
/
api
/
v1
/
products
/
{id}
Update Product
curl --request PUT \
  --url https://app.flowglad.com/api/v1/products/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "product": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "imageURL": "<string>",
    "active": true,
    "singularQuantityLabel": "<string>",
    "pluralQuantityLabel": "<string>",
    "default": true,
    "slug": "<string>"
  },
  "price": {
    "id": "<string>",
    "name": "<string>",
    "type": "<string>",
    "isDefault": true,
    "active": true,
    "slug": "<string>"
  },
  "featureIds": [
    "<string>"
  ]
}'
{
  "product": {
    "id": "<string>",
    "createdAt": 0,
    "updatedAt": 0,
    "livemode": true,
    "name": "<string>",
    "description": "<string>",
    "imageURL": "<string>",
    "organizationId": "<string>",
    "active": true,
    "singularQuantityLabel": "<string>",
    "pluralQuantityLabel": "<string>",
    "pricingModelId": "<string>",
    "default": true,
    "slug": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Body

application/json
product
object
required
price
object
  • Option 1
  • Option 2
  • Option 3
featureIds
string[]

Response

Successful response

product
object
required
I