Price Groups
Managing configurator price groups
GET /configurator-price-groups
Retrieve a List of Configurator Price Groups
To retrieve a list of configurator price groups, you can use the following GET endpoint provided by the Simplio3D API:
Endpoint
GET /api/configurator-price-groups
Description
This endpoint retrieves a list of all price groups associated with the configurators available in the system. Each price group represents a set of pricing rules applied to a particular configurator.
Request
Method: GET
URL:
https://app.simplio3d.com/open-api/v1/configurator-price-groups
Headers:
Authorization: Bearer <Your_API_Token>
ResponseA successful response returns a JSON object containing the list of configurator price groups:
{ "priceGroups": [ { "groupId": "1", "name": "Color Pricing", "description": "Calculate price by color" }, { "groupId": "2", "name": "Width x Length Pricing", "description": "Calculate price by size" } ] }
NotesEnsure that you have the correct API token with sufficient permissions to access this endpoint.
The returned list will include each price group's unique identifier, name, and description.
Ensure you have the necessary authorization credentials (e.g., Bearer Token) to access this endpoint which is taken from the 'Share' tab encryption token found at the bottom of the page.
For more detailed information, refer to the Simplio3D API Documentation.
Get a list of configurator price groups.
GET /api/open-api/v1/configurator-price-groups HTTP/1.1
Host: app.simplio3d.com
Authorization: Bearer JWT
Accept: */*
{
"data": [
{
"id": 1,
"configurator_id": 127,
"title": "Premium Package",
"type": "Fixed Price",
"variable_type": "Percentage",
"settings": {
"discount": "10%",
"tiered_pricing": true
},
"prices": [
{
"amount": 99.99,
"currency": "USD"
}
],
"created_at": "2024-02-25T12:00:00Z",
"updated_at": "2024-02-25T12:30:00Z"
}
]
}
GET /configurator-price-group/{configurator_price_group_id}
Retrieve a Specific Configurator Price Group
This endpoint allows you to retrieve detailed information about a specific configurator price group by using its unique identifier. This can be useful for gaining insights into the pricing rules applied to a particular configurator within the system.
Request
Method: GET
URL:
https://app.simplio3d.com/open-api/v1/configurator-price-groups/{configurator_price_group_id}
Headers:
Authorization: Bearer <Your_API_Token>
NOTE: Ensure you have the necessary authorization credentials (e.g., Bearer Token) to access this endpoint which is taken from the 'Share' tab encryption token found at the bottom of the page.
Get details of a specific configurator price group.
The ID of the configurator price group to retrieve
1
GET /api/open-api/v1/configurator-price-groups/{configurator_price_group_id} HTTP/1.1
Host: app.simplio3d.com
Authorization: Bearer JWT
Accept: */*
{
"id": 1,
"configurator_id": 127,
"title": "Premium Package",
"type": "Fixed Price",
"variable_type": "Percentage",
"settings": {
"discount": "10%",
"tiered_pricing": true
},
"prices": [
{
"amount": 99.99,
"currency": "USD"
}
],
"created_at": "2024-02-25T12:00:00Z",
"updated_at": "2024-02-25T12:30:00Z"
}
GET /configurator-price-groups/variables/list
Retrieve a List of Configurator Price Group Variables
This endpoint allows you to obtain a list of all the variables associated with a specific configurator price group, which can help in understanding the various dynamic factors affecting pricing.
Request
Method: GET
URL:
https://app.simplio3d.com/open-api/v1/configurator-price-groups/variables/list
Headers:
Authorization: Bearer <Your_API_Token>
NOTE: Ensure you have the necessary authorization credentials (e.g., Bearer Token) to access this endpoint which is taken from the 'Share' tab encryption token found at the bottom of the page.
Get a list of configurator price group variables.
GET /api/open-api/v1/configurator-price-groups/variables/list HTTP/1.1
Host: app.simplio3d.com
Authorization: Bearer JWT
Accept: */*
{
"data": [
{
"id": 1,
"configurator_id": 127,
"title": "Premium Package",
"type": "Fixed Price",
"variable_type": "Percentage",
"settings": {
"discount": "10%",
"tiered_pricing": true
},
"prices": [
{
"amount": 99.99,
"currency": "USD"
}
],
"created_at": "2024-02-25T12:00:00Z",
"updated_at": "2024-02-25T12:30:00Z"
}
]
}
Last updated
Was this helpful?