Create a Product

Body Params
string
required

The customer’s full name or business name. Length 256.

string
enum
required

Type of product.

Allowed:
boolean

Whether the product is currently available for purchase.

defaultPrice
object

Object with the details of the default price for the product. If you pass this object we will create a price object and ensure its attached to the product as the default price.

string

The product’s description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes.

string

A URL of a publicly-accessible webpage for this product.

Headers
string

A unique identifier to ensure the same operation isn't processed multiple times, preventing duplicate transactions.

string

Specifies the account for which to retrieve a list of products that are intended. This is used for scenarios where one partner retrieves a list of products on behalf of another partner, such as in PayFac or related partner relationships.

Responses

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