Get a price relay target rule including its connected source rules
/api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
app_slugstringrequiredApp slug
team_slugstringrequiredTeam slug
rule_idstringrequiredTarget rule ID
Got target rule
datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.PriceRelayTargetRuleWithSourcesrequiredShow propertiesHide properties
activebooleanaggregationstringapp_idstringcreated_atstringidstringmarketstringmarket_slugstringnamestringsourcesgithub_com_enadhq_nabbit_internal_pkg_webserver_models.PriceRelaySourceRule[] | nullShow propertiesHide properties
github_com_enadhq_nabbit_internal_pkg_webserver_models.PriceRelaySourceRuleactivebooleanapp_idstringcreated_atstringfiltersgithub_com_enadhq_nabbit_internal_pkg_webserver_models.PriceRelayFiltersShow propertiesHide properties
brand_idsstring[] | nullcategory_idsstring[] | nullcollection_idsstring[] | nulltag_idsstring[] | nullforce_on_saleboolean | nullOverrides 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.
idstringmarketstringmarket_slugstringnamestringpercentage_of_sourceinteger | nullpercentage_of_source_decimalsinteger | nullrelay_on_sale_store_groupstring | nullWhen 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_groupstringThe 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.
roundinggithub_com_enadhq_nabbit_internal_pkg_webserver_models.PriceRelayRoundingShow propertiesHide properties
round_downbooleanround_upbooleantargetsstring[] | nullstore_groupsgithub_com_enadhq_nabbit_internal_pkg_webserver_models.PriceRelaySourceStoreGroup[] | nullThe store groups whose prices are summed into the relayed price.
Show propertiesHide properties
github_com_enadhq_nabbit_internal_pkg_webserver_models.PriceRelaySourceStoreGroupamount_fromstringThe source price field summed into the target's amount_cents_with_tax: 'amount' (the default), 'sale_price' or 'reference_price'.
sale_price_fromstring | nullThe source price field that feeds the target's sale_price_with_tax: 'amount', 'sale_price' or 'reference_price'. Null contributes this store group's amount to the summed sale price.
store_groupstringstore_group_slugstringtax_country_codestring | nullupdated_atstringstore_groupstringstore_group_slugstringupdated_atstringdetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequiredInvalid request
detailsstring[]messagestringsuccessbooleanrequiredNot found
detailsstring[]messagestringsuccessbooleanrequiredInternal server error
detailsstring[]messagestringsuccessbooleanrequired