v1
latestOpenAPI 3.0.02026-08-06165119238.1 KBProducts
Save a product with the given ID
This endpoint both saves and updates a product. The product is identified by the id path parameter. If the product ID does not exist, then a new product with the corresponding ID will be created. Otherwise, the existing product will be modified.
put/v3/products/{id}
Path parameters
idstring required
Unique Product identifier.
Request body
Example request
{
"label": "Gold Subscription",
"description": "The most premium subscription.",
"entitlement": {
"id": "gold-bundle",
"type": "bundle",
"entitlementTenant": "company"
},
"mapping": {
"braintree_one_off": {
"price_points": [
{
"id": "ten",
"label": "Ten Dollars",
"price": 10
}
]
}
},
"sharingLimit": 5
}Response
OK. The product was updated.
Example response
{
"message": "Product updated successfully",
"uri": "https://company.api.zephr.com/v3/products/gold"
}