Create Price for a Product
The "Create Price for a Product" API allows adding a new price associated with a specific product to the system. Use this endpoint to create a price with the specified details for a particular product. Ensure that the required information is provided in the request payload.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
products/ prices. writeOAuthPrivate IntegrationSub-Account TokenAgency TokenRequest
Headers
API Version
v3Path Parameters
ID of the product that needs to be used
6578278e879ad2646715ba9cBody
The name of the price.
Price NameThe type of the price.
one_timerecurringone_timeThe currency of the price.
USDThe amount of the price. ( min: 0 )
99.99The recurring details of the price (if type is recurring).
A brief description of the price.
An array of membership offers associated with the price.
The trial period duration in days (if applicable).
7The total number of billing cycles for the price. ( min: 1 )
12The setup fee for the price.
10.99An array of variant option IDs associated with the price.
["option_id_1","option_id_2"]The compare at price for the price.
19.99The unique identifier of the location associated with the price.
6578278e879ad2646715ba9cThe unique identifier of the user who created the price.
6578278e879ad2646715ba9cAdditional metadata associated with the price.
Need to track inventory stock quantity
trueAvailable inventory stock quantity
5Continue selling when out of stock
trueThe unique identifier of the SKU associated with the price
sku_123Shipping options of the Price
Is the product a digital product
trueDigital delivery options
Response
Successful response
The unique identifier for the price.
655b33aa2209e60b6adb87a7An array of membership offers associated with the price.
An array of variant option IDs associated with the price.
["h4z7u0im2q8","h3nst2ltsnn"]The unique identifier for the location.
3SwdhCsvxI8Au3KsPJt6The unique identifier for the associated product.
655b33a82209e60b6adb87a5The unique identifier for the user.
6YAtzfzpmHAdj0e8GkKpThe name of the price.
Red / SThe type of the price (e.g., one_time).
one_timerecurringone_timeThe currency code for the price.
INRThe amount of the price.
199999The recurring details of the price (if type is recurring).
The creation timestamp of the price.
2023-11-20T10:23:38.645ZThe last update timestamp of the price.
2024-01-23T09:57:04.852ZThe compare-at price for comparison purposes.
2000000Indicates whether inventory tracking is enabled.
nullAvailable inventory stock quantity
5Continue selling when out of stock
true