Get a price relay target rule including its connected source rules

Get a price relay target rule including its connected source rules

GET/api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}
API
Management
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.

Parameters3 parameters
NameInRequiredTypeDescription
app_slugpathYesstringApp slug
team_slugpathYesstringTeam slug
rule_idpathYesstringTarget rule ID
Request bodyNo documented body

Not documented in the OpenAPI contract.

Responses4 statuses
StatusDescriptionContent
200Got target ruleapplication/json (object)
400Invalid requestapplication/json (object)
404Not foundapplication/json (object)
500Internal server errorapplication/json (object)

200 - object

Price Relay Target Rule With Sources Response

PropertyTypeRequiredDetails
dataobjectYes-
detailsstring[]NoAdditional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanYes-
Price Relay Target Rule With Sources
PropertyTypeRequiredDetails
activebooleanNo-
aggregationstringNo-
app_idstringNo-
created_atstringNo-
idstringNo-
marketstringNo-
market_slugstringNo-
namestringNo-
sourcesobject[]No-
store_groupstringNo-
store_group_slugstringNo-
updated_atstringNo-
Price Relay Source Rule
PropertyTypeRequiredDetails
activebooleanNo-
app_idstringNo-
created_atstringNo-
filtersobjectNo-
force_on_salebooleanNoOverrides 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.
idstringNo-
marketstringNo-
market_slugstringNo-
namestringNo-
percentage_of_sourceintegerNo-
percentage_of_source_decimalsintegerNo-
relay_on_sale_store_groupstringNoWhen 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_groupstringNoThe 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.
roundingobjectNo-
store_groupsobject[]NoThe store groups whose prices are summed into the relayed price.
tax_country_codestringNo-
updated_atstringNo-
{
  "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

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanYes-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

404 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanYes-

Generated example (synthetic):

{
  "details": [
    "string"
  ],
  "message": "string",
  "success": false
}

500 - object

Error Message

PropertyTypeRequiredDetails
detailsstring[]No-
messagestringNo-
successbooleanYes-

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

Get a price relay target rule including its connected source rules

# Get a price relay target rule including its connected source rules Get a price relay target rule including its connected source rules
GET /api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}
Purpose

Get a price relay target rule including its connected source rules

Required inputs

app_slug path team_slug path rule_id path

Primary response

200 ยท Got target rule

Operation key

management-api:GET:/api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}

## 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](/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. - Stable operation key: `management-api:GET:/api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}` 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 | - |
Generated example (synthetic) ```json { "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):** ```json { "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):** ```json { "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):** ```json { "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. - Stable operation key: `management-api:GET:/api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}` - OpenAPI tag: Price Relay Rules - OpenAPI summary: Get a price relay target rule including its connected source rules