Profit Margins
List Profit Margins
Profit Margins
List Profit Margins
List all profit margins.
Returns
A list of profit_margin objects.
GET
/
api
/
v2
/
profit_margins
/
list
curl --request GET \
--url https://api-staging.unbridaled.ai/api/v2/profit_margins/list \
--header 'Authorization: Bearer <token>'
[
{
"lab_percent": 50,
"merchant_uuid": "17497254-56ab-464e-9ba3-fb3e28906d41",
"mined_percent": 35,
"price_max": 0,
"price_min": 0,
"uuid": "3e3cff68-e784-426e-ac60-f6226d365907",
"weight_max": 0.75,
"weight_min": 0,
"weight_or_price": "weight"
},
{
"lab_percent": 45,
"merchant_uuid": "17497254-56ab-464e-9ba3-fb3e28906d41",
"mined_percent": 30,
"price_max": 0,
"price_min": 0,
"uuid": "e09d659a-d9d0-40ba-9c98-56a32de9105a",
"weight_max": 0.99,
"weight_min": 0.76,
"weight_or_price": "weight"
},
{
"lab_percent": 45,
"merchant_uuid": "17497254-56ab-464e-9ba3-fb3e28906d41",
"mined_percent": 30,
"price_max": 0,
"price_min": 0,
"uuid": "af958113-2d49-4b3c-ae27-85bb3fbe02c3",
"weight_max": 1.99,
"weight_min": 1,
"weight_or_price": "weight"
},
{
"lab_percent": 40,
"merchant_uuid": "17497254-56ab-464e-9ba3-fb3e28906d41",
"mined_percent": 25,
"price_max": 0,
"price_min": 0,
"uuid": "de4c334b-c0ec-4f42-a68f-86890ceb358b",
"weight_max": 10,
"weight_min": 2,
"weight_or_price": "weight"
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
curl --request GET \
--url https://api-staging.unbridaled.ai/api/v2/profit_margins/list \
--header 'Authorization: Bearer <token>'
[
{
"lab_percent": 50,
"merchant_uuid": "17497254-56ab-464e-9ba3-fb3e28906d41",
"mined_percent": 35,
"price_max": 0,
"price_min": 0,
"uuid": "3e3cff68-e784-426e-ac60-f6226d365907",
"weight_max": 0.75,
"weight_min": 0,
"weight_or_price": "weight"
},
{
"lab_percent": 45,
"merchant_uuid": "17497254-56ab-464e-9ba3-fb3e28906d41",
"mined_percent": 30,
"price_max": 0,
"price_min": 0,
"uuid": "e09d659a-d9d0-40ba-9c98-56a32de9105a",
"weight_max": 0.99,
"weight_min": 0.76,
"weight_or_price": "weight"
},
{
"lab_percent": 45,
"merchant_uuid": "17497254-56ab-464e-9ba3-fb3e28906d41",
"mined_percent": 30,
"price_max": 0,
"price_min": 0,
"uuid": "af958113-2d49-4b3c-ae27-85bb3fbe02c3",
"weight_max": 1.99,
"weight_min": 1,
"weight_or_price": "weight"
},
{
"lab_percent": 40,
"merchant_uuid": "17497254-56ab-464e-9ba3-fb3e28906d41",
"mined_percent": 25,
"price_max": 0,
"price_min": 0,
"uuid": "de4c334b-c0ec-4f42-a68f-86890ceb358b",
"weight_max": 10,
"weight_min": 2,
"weight_or_price": "weight"
}
]