Autorización
string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.
Path parameters
string
default:"6578278e879ad2646715ba9c"
required
ID of the product that needs to be used
string
default:"6578278e879ad2646715ba9c"
required
ID of the price that needs to be returned
Body
string
default:"Price Name"
required
The name of the price.
string
default:"one_time"
required
The type of the price. Posibles valores: ‘one_time’, ‘recurring’
string
default:"USD"
required
The currency of the price.
number
default:"99.99"
required
The amount of the price. ( min: 0 )
object
The recurring details of the price (if type is recurring).
string
A brief description of the price.
object[]
An array of membership offers associated with the price.
number
default:"7"
The trial period duration in days (if applicable).
number
default:"12"
The total number of billing cycles for the price. ( min: 1 )
number
default:"10.99"
The setup fee for the price.
string[]
An array of variant option IDs associated with the price.
number
default:"19.99"
The compare at price for the price.
string
default:"6578278e879ad2646715ba9c"
required
The unique identifier of the account associated with the price.
string
default:"6578278e879ad2646715ba9c"
The unique identifier of the user who created the price.
object
Additional metadata associated with the price.
boolean
default:"True"
Need to track inventory stock quantity
number
default:"5"
Available inventory stock quantity
boolean
default:"True"
Continue selling when out of stock
string
default:"sku_123"
The unique identifier of the SKU associated with the price
object
Shipping options of the Price
boolean
default:"True"
Is the product a digital product
string[]
Digital delivery options
Respuestas
200 - Successful response
200 - Successful response
string
default:"655b33aa2209e60b6adb87a7"
required
The unique identifier for the price.
object[]
An array of membership offers associated with the price.
string[]
An array of variant option IDs associated with the price.
string
default:"3SwdhCsvxI8Au3KsPJt6"
The unique identifier for the account.
string
default:"655b33a82209e60b6adb87a5"
The unique identifier for the associated product.
string
default:"6YAtzfzpmHAdj0e8GkKp"
The unique identifier for the user.
string
default:"Red / S"
required
The name of the price.
string
default:"one_time"
required
The type of the price (e.g., one_time). Posibles valores: ‘one_time’, ‘recurring’
string
default:"INR"
required
The currency code for the price.
number
default:"199999"
required
The amount of the price.
object
The recurring details of the price (if type is recurring).
string
default:"2023-11-20T10:23:38.645Z"
The creation timestamp of the price.
string
default:"2024-01-23T09:57:04.852Z"
The last update timestamp of the price.
number
default:"2000000"
The compare-at price for comparison purposes.
boolean
Indicates whether inventory tracking is enabled.
number
default:"5"
Available inventory stock quantity
boolean
default:"True"
Continue selling when out of stock
400 - Bad Request
400 - Bad Request
422 - Unprocessable Entity
422 - Unprocessable Entity

