Get a price relay target rule including its connected source rules
Get a price relay target rule including its connected source rules
/api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}- API
- Management
- OpenAPI
- management-api
- Updated
- Apr 26, 2026
management-api:GET:/api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}
Get a price relay target rule including its connected source rules
API ownership
- API family: Management API
- Best for: Trusted back-office workflows that create, update, organize, or delete merchant-owned data.
- Do not use from: Browser-only storefront code or public clients.
- Guide route: /apis/management/latest
The OpenAPI contract defines the method, path, parameters, request body, and responses for this operation.
Operation
- Method:
GET - Path:
/api/v1/\{team_slug\}/\{app_slug\}/price-relay-target-rules/\{rule_id\} - Summary: Get a price relay target rule including its connected source rules
- Description: Get a price relay target rule including its connected source rules
- OpenAPI contract: management-api
- Operation ID: Not documented in the OpenAPI contract.
Operation key uses API family, method, and path because this OpenAPI contract does not publish an operation ID.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| app_slug | path | Yes | string | App slug |
| team_slug | path | Yes | string | Team slug |
| rule_id | path | Yes | string | Target rule ID |
Request body
Not documented in the OpenAPI contract.
Responses
| Status | Description | Content |
|---|---|---|
| 200 | Got target rule | application/json (object) |
| 400 | Invalid request | application/json (object) |
| 404 | Not found | application/json (object) |
| 500 | Internal server error | application/json (object) |
200 - object
Price Relay Target Rule With Sources Response
| Property | Type | Required | Details |
|---|---|---|---|
data | object | Yes | - |
details | string[] | No | Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes |
success | boolean | Yes | - |
Price Relay Target Rule With Sources
| Property | Type | Required | Details |
|---|---|---|---|
active | boolean | No | - |
aggregation | string | No | - |
app_id | string | No | - |
created_at | string | No | - |
id | string | No | - |
market | string | No | - |
market_slug | string | No | - |
name | string | No | - |
sources | object[] | No | - |
store_group | string | No | - |
store_group_slug | string | No | - |
updated_at | string | No | - |
Price Relay Source Rule
| Property | Type | Required | Details |
|---|---|---|---|
active | boolean | No | - |
app_id | string | No | - |
created_at | string | No | - |
filters | object | No | - |
force_on_sale | boolean | No | Overrides the target's on-sale flag with this value; when omitted the flag is left to relay_on_sale_store_group and the target's own state. |
id | string | No | - |
market | string | No | - |
market_slug | string | No | - |
name | string | No | - |
percentage_of_source | integer | No | - |
percentage_of_source_decimals | integer | No | - |
relay_on_sale_store_group | string | No | When set, the target inherits its on-sale flag and sale window from this store group's price; null leaves the target's own. Must be one of store_groups. |
relay_status_store_group | string | No | The target inherits its status from this store group's price; falls back to the target's own status, or the source status when the target has no price yet. Must be one of store_groups. |
rounding | object | No | - |
store_groups | object[] | No | The store groups whose prices are summed into the relayed price. |
tax_country_code | string | No | - |
updated_at | string | No | - |
{
"data": {
"active": false,
"aggregation": "string",
"app_id": "string",
"created_at": "string",
"id": "string",
"market": "string",
"market_slug": "string",
"name": "string",
"sources": [
{
"active": false,
"app_id": "string",
"created_at": "string",
"filters": {
"brand_ids": null,
"category_ids": null,
"collection_ids": null,
"tag_ids": null
},
"force_on_sale": false,
"id": "string",
"market": "string",
"market_slug": "string",
"name": "string",
"percentage_of_source": 0,
"percentage_of_source_decimals": 0,
"relay_on_sale_store_group": "string",
"relay_status_store_group": "string",
"rounding": {
"round_down": null,
"round_up": null,
"targets": null
},
"store_groups": [],
"tax_country_code": "string",
"updated_at": "string"
}
],
"store_group": "string",
"store_group_slug": "string",
"updated_at": "string"
},
"details": [
"string"
],
"success": false
}400 - object
Error Message
| Property | Type | Required | Details |
|---|---|---|---|
details | string[] | No | - |
message | string | No | - |
success | boolean | Yes | - |
Generated example (synthetic):
{
"details": [
"string"
],
"message": "string",
"success": false
}404 - object
Error Message
| Property | Type | Required | Details |
|---|---|---|---|
details | string[] | No | - |
message | string | No | - |
success | boolean | Yes | - |
Generated example (synthetic):
{
"details": [
"string"
],
"message": "string",
"success": false
}500 - object
Error Message
| Property | Type | Required | Details |
|---|---|---|---|
details | string[] | No | - |
message | string | No | - |
success | boolean | Yes | - |
Generated example (synthetic):
{
"details": [
"string"
],
"message": "string",
"success": false
}Contract identity
Use these fields to confirm you are implementing the intended endpoint contract.
- API family: Management API
- Method:
GET - Path:
/api/v1/\{team_slug\}/\{app_slug\}/price-relay-target-rules/\{rule_id\} - Operation ID: Not documented in the OpenAPI contract.
- OpenAPI tag: Price Relay Rules
- OpenAPI summary: Get a price relay target rule including its connected source rules