PriceRelayRules
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>"
]
},
"id": "<string>",
"market": "<string>",
"market_slug": "<string>",
"name": "<string>",
"percentage_of_source": 123,
"percentage_of_source_decimals": 123,
"relay_sale_price": true,
"rounding": {
"round_down": true,
"round_up": true,
"targets": [
"<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
}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>"
]
},
"id": "<string>",
"market": "<string>",
"market_slug": "<string>",
"name": "<string>",
"percentage_of_source": 123,
"percentage_of_source_decimals": 123,
"relay_sale_price": true,
"rounding": {
"round_down": true,
"round_up": true,
"targets": [
"<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
}