Create a price relay target rule
POST
/api/v1/{team_slug}/{app_slug}/price-relay-target-rulesAuthorization
AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
Path parameters
app_slugstringrequiredApp slug
team_slugstringrequiredTeam slug
Request body
requiredapplication/jsontarget rule details
activebooleanaggregationstringrequiredmarket_slugstringrequirednamestringrequiredstore_group_slugstringrequiredResponses
200
target rule created
datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.PriceRelayTargetRulerequiredShow propertiesHide properties
activebooleanaggregationstringapp_idstringcreated_atstringidstringmarketstringmarket_slugstringnamestringstore_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
successbooleanrequired400
Invalid request
detailsstring[]messagestringsuccessbooleanrequired404
Store group or market not found
detailsstring[]messagestringsuccessbooleanrequired409
Conflict
detailsstring[]messagestringsuccessbooleanrequired500
Internal server error
detailsstring[]messagestringsuccessbooleanrequired