Documentation Index Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt
Use this file to discover all available pages before exploring further.
The “List Prices for a Product” API allows retrieving a paginated list of prices associated with a specific product. Customize your results by filtering prices or paginate through the list using the provided query parameters.
GET https://services.leadconnectorhq.com/products/{productId}/price
Autorizacion
Bearer token generado desde el portal Leadway. Ver Autenticacion .
Version
string
default: "2021-07-28"
required
Version de la API.
Path parameters
productId
string
default: "6578278e879ad2646715ba9c"
required
ID of the product that needs to be used
Query parameters
The maximum number of items to be included in a single page of results
The starting index of the page, indicating the position from which the results should be retrieved.
locationId
string
default: "3SwdhCsvxI8Au3KsPJt6"
required
The unique identifier for the account.
To filter the response only with the given price ids, Please provide with comma separated
Respuestas
200 - Successful response
An array of prices _id
string
default: "655b33aa2209e60b6adb87a7"
required
The unique identifier for the price.
An array of membership offers associated with the price. label
string
default: "top_50"
required
Membership offer label
value
string
default: "50"
required
Membership offer label
_id
string
default: "655b33aa2209e60b6adb87a7"
required
The unique identifier for the membership offer.
An array of variant option IDs associated with the price.
locationId
string
default: "3SwdhCsvxI8Au3KsPJt6"
The unique identifier for the account.
product
string
default: "655b33a82209e60b6adb87a5"
The unique identifier for the associated product.
userId
string
default: "6YAtzfzpmHAdj0e8GkKp"
The unique identifier for the user.
name
string
default: "Red / S"
required
The name of the price.
type
string
default: "one_time"
required
The type of the price (e.g., one_time). Posibles valores: ‘one_time’, ‘recurring’
currency
string
default: "INR"
required
The currency code for the price.
amount
number
default: "199999"
required
The amount of the price.
The recurring details of the price (if type is recurring).
createdAt
string
default: "2023-11-20T10:23:38.645Z"
The creation timestamp of the price.
updatedAt
string
default: "2024-01-23T09:57:04.852Z"
The last update timestamp of the price.
The compare-at price for comparison purposes.
Indicates whether inventory tracking is enabled.
Available inventory stock quantity
Continue selling when out of stock
total
number
default: "10"
required
{
"prices" : [
{
"_id" : "655b33aa2209e60b6adb87a7" ,
"membershipOffers" : [
{}
],
"variantOptionIds" : [
"h4z7u0im2q8" ,
"h3nst2ltsnn"
],
"locationId" : "3SwdhCsvxI8Au3KsPJt6" ,
"product" : "655b33a82209e60b6adb87a5" ,
"userId" : "6YAtzfzpmHAdj0e8GkKp" ,
"name" : "Red / S" ,
"type" : "one_time" ,
"currency" : "INR" ,
"amount" : 199999 ,
"createdAt" : "2023-11-20T10:23:38.645Z" ,
"updatedAt" : "2024-01-23T09:57:04.852Z" ,
"compareAtPrice" : 2000000 ,
"availableQuantity" : 5 ,
"allowOutOfStockPurchases" : true
}
],
"total" : 10
}
422 - Unprocessable Entity
Ejemplo
curl -X GET 'https://services.leadconnectorhq.com/products/YOUR_productId/price' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Version: 2021-07-28'