Get Price Points
GET/v1/sandbox/:sandbox_id/price-point
Get Price Points by filters. All filters must be true for a Price Point to be returned. Requires any of permissions: sandbox:config:view, sandbox:config:edit
Request
Path Parameters
Sandbox ID
Query Parameters
Price Point IDs to filter by
Filter by Price Points with matching strict flag
Filter by Price Points with matching cap flag
Possible values: non-empty and <= 128 characters
Filter by case insensitive name
Possible values: [*, legacy_id]
Resources to expand and fill in additional detail
Filter by last modified account ID
Sort results by
Sort order
Possible values: non-empty and <= 128 characters
Default value: 0
Cursor to designate where you are in iterating through values. Start with '0', and pass this on subsequent calls to continue iteration
Possible values: >= 1 and <= 10000
Default value: 50
The maximum number of elements to be returned per call
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
Array [
Array [
]
]
]
data
object[]
The Price Points.
custom_data
object
Custom data associated with the resource
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
Forces the quantity to be equal to a quantity on a Price Breakpoint.
Only allows quantity to be fulfilled up the highest quantity on the Price Breakpoints
current_breakpoints
object[]
Current Price Breakpoints.
custom_data
object
Custom data associated with the resource
ID of the price break point
Deprecated. Use the currencies field instead.
Possible values: > 0
Deprecated. Use the currencies field instead.
Possible values: > 0
Quantity for the price break point.
currencies
object[]
List of currencies for this break point
ID of the price break point currency
Item ID of the currency used to price.
Possible values: > 0
Price for the quantity.
Name corresponding Item ID
pre_sale_breakpoints
object[]
Previous Price Breakpoints.
custom_data
object
Custom data associated with the resource
ID of the price break point
Deprecated. Use the currencies field instead.
Possible values: > 0
Deprecated. Use the currencies field instead.
Possible values: > 0
Quantity for the price break point.
currencies
object[]
List of currencies for this break point
ID of the price break point currency
Item ID of the currency used to price.
Possible values: > 0
Price for the quantity.
Name corresponding Item ID
ID of the Sandbox
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when the resource was created
The Price Point ID.
page_meta
object
required
Possible values: non-empty and <= 128 characters
Cursor to designate where you are in iterating through values. Start with '0', and pass this on subsequent calls to continue iteration
Possible values: >= 1 and <= 10000
Default value: 50
The maximum number of elements to be returned per call
Default value: 0
The total number of entities.
{
"data": [
{
"custom_data": {},
"name": "string",
"description": "string",
"strict_flag": false,
"cap_flag": false,
"current_breakpoints": [
{
"custom_data": {},
"price_break_point_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 0,
"currencies": [
{
"price_break_point_currency_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price": 0
}
],
"price_item_name": "string"
}
],
"pre_sale_breakpoints": [
{
"custom_data": {},
"price_break_point_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"quantity": 0,
"currencies": [
{
"price_break_point_currency_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price_item_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"price": 0
}
],
"price_item_name": "string"
}
],
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z",
"created_timestamp": "2024-07-29T15:51:28.071Z",
"price_point_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"page_meta": {
"cursor": "string",
"page_size": 50,
"total": 0
}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}