Price Relay Rules
Get a price relay source rule including its connected target rules
GET
/
api
/
v1
/
{team_slug}
/
{app_slug}
/
price-relay-source-rules
/
{rule_id}
Error
A valid request URL is required to generate request examples{
"data": {
"active": true,
"app_id": "<string>",
"created_at": "<string>",
"filters": {
"brand_ids": [
"<string>"
],
"category_ids": [
"<string>"
],
"collection_ids": [
"<string>"
],
"tag_ids": [
"<string>"
]
},
"force_on_sale": true,
"id": "<string>",
"market": "<string>",
"market_slug": "<string>",
"name": "<string>",
"percentage_of_source": 123,
"percentage_of_source_decimals": 123,
"relay_on_sale_store_group": "<string>",
"relay_status_store_group": "<string>",
"rounding": {
"round_down": true,
"round_up": true,
"targets": [
"<string>"
]
},
"store_groups": [
{
"amount_from": "<string>",
"sale_price_from": "<string>",
"store_group": "<string>",
"store_group_slug": "<string>"
}
],
"targets": [
{
"active": true,
"aggregation": "<string>",
"app_id": "<string>",
"created_at": "<string>",
"id": "<string>",
"market": "<string>",
"market_slug": "<string>",
"name": "<string>",
"store_group": "<string>",
"store_group_slug": "<string>",
"updated_at": "<string>"
}
],
"tax_country_code": "<string>",
"updated_at": "<string>"
},
"details": [
"<string>"
],
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}Authorizations
Management API token, sent as Authorization: Bearer <token>.
Path Parameters
App slug
Team slug
Source rule ID
⌘I
Error
A valid request URL is required to generate request examples{
"data": {
"active": true,
"app_id": "<string>",
"created_at": "<string>",
"filters": {
"brand_ids": [
"<string>"
],
"category_ids": [
"<string>"
],
"collection_ids": [
"<string>"
],
"tag_ids": [
"<string>"
]
},
"force_on_sale": true,
"id": "<string>",
"market": "<string>",
"market_slug": "<string>",
"name": "<string>",
"percentage_of_source": 123,
"percentage_of_source_decimals": 123,
"relay_on_sale_store_group": "<string>",
"relay_status_store_group": "<string>",
"rounding": {
"round_down": true,
"round_up": true,
"targets": [
"<string>"
]
},
"store_groups": [
{
"amount_from": "<string>",
"sale_price_from": "<string>",
"store_group": "<string>",
"store_group_slug": "<string>"
}
],
"targets": [
{
"active": true,
"aggregation": "<string>",
"app_id": "<string>",
"created_at": "<string>",
"id": "<string>",
"market": "<string>",
"market_slug": "<string>",
"name": "<string>",
"store_group": "<string>",
"store_group_slug": "<string>",
"updated_at": "<string>"
}
],
"tax_country_code": "<string>",
"updated_at": "<string>"
},
"details": [
"<string>"
],
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}{
"details": [
"<string>"
],
"message": "<string>",
"success": true
}