Authorizations
Path Parameters
Body
application/json
Response
Successful response
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>"
}
}
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>"
}
}
Successful response
Show child attributes
Was this page helpful?