Update a product

Updates the product with the given id. Only the fields you provide are modified, and omitted fields keep their current value. A field sent as null is treated the same as an omitted field, so you cannot clear an optional field that is already set through this endpoint. When metadata is provided, it replaces the entire existing metadata object. The product must belong to your organization and to the live or test mode of the API key used.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The id of the product to update.

Body Params
string

Free-text description of the product.

string

Publicly reachable image URL shown for the product.

metadata
object

Set of key-value pairs to attach to the product, useful for storing additional structured information. Up to 50 keys, with key names up to 40 characters and string values up to 500 characters. Sending metadata replaces the entire existing object.

string
length ≤ 100

Name of the product. Up to 100 characters.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json