Update a price relay target rule

Update a price relay target rule

PUT/api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}
API
Management
Updated
Apr 26, 2026

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

Update a price relay target rule

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: PUT
  • Path: /api/v1/\{team_slug\}/\{app_slug\}/price-relay-target-rules/\{rule_id\}
  • Summary: Update a price relay target rule
  • Description: Update a price relay target rule
  • 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 bodyDocumented body
  • Required: Yes
  • Description: target rule details
  • Content: application/json (object)

Input Price Relay Target Rule

PropertyTypeRequiredDetails
activebooleanNo-
aggregationstringYes-
market_slugstringYes-
namestringYes-
store_group_slugstringYes-

Generated example (synthetic):

{
  "active": false,
  "aggregation": "string",
  "market_slug": "string",
  "name": "string",
  "store_group_slug": "string"
}
Responses5 statuses
StatusDescriptionContent
200target rule updatedapplication/json (object)
400Invalid requestapplication/json (object)
404Not foundapplication/json (object)
409Conflictapplication/json (object)
500Internal server errorapplication/json (object)

200 - object

Price Relay Target Rule 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
PropertyTypeRequiredDetails
activebooleanNo-
aggregationstringNo-
app_idstringNo-
created_atstringNo-
idstringNo-
marketstringNo-
market_slugstringNo-
namestringNo-
store_groupstringNo-
store_group_slugstringNo-
updated_atstringNo-

Generated example (synthetic):

{
  "data": {
    "active": false,
    "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"
  },
  "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
}

409 - 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: PUT
  • 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: Update a price relay target rule

Update a price relay target rule

# Update a price relay target rule Update a price relay target rule
PUT /api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}
Purpose

Update a price relay target rule

Required inputs

app_slug path team_slug path rule_id path

Primary response

200 ยท target rule updated

Operation key

management-api:PUT:/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: `PUT` - Path: `/api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}` - Summary: Update a price relay target rule - Description: Update a price relay target rule - OpenAPI contract: management-api - Operation ID: Not documented in the OpenAPI contract. - Stable operation key: `management-api:PUT:/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 - Required: Yes - Description: target rule details - Content: application/json (object) ### Input Price Relay Target Rule | Property | Type | Required | Details | | --- | --- | --- | --- | | `active` | boolean | No | - | | `aggregation` | string | Yes | - | | `market_slug` | string | Yes | - | | `name` | string | Yes | - | | `store_group_slug` | string | Yes | - | **Generated example (synthetic):** ```json { "active": false, "aggregation": "string", "market_slug": "string", "name": "string", "store_group_slug": "string" } ``` ## Responses | Status | Description | Content | | --- | --- | --- | | 200 | target rule updated | application/json (object) | | 400 | Invalid request | application/json (object) | | 404 | Not found | application/json (object) | | 409 | Conflict | application/json (object) | | 500 | Internal server error | application/json (object) | ### 200 - object #### Price Relay Target Rule 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 | 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 | - | | `store_group` | string | No | - | | `store_group_slug` | 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", "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 } ``` ### 409 - 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: `PUT` - 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:PUT:/api/v1/{team_slug}/{app_slug}/price-relay-target-rules/{rule_id}` - OpenAPI tag: Price Relay Rules - OpenAPI summary: Update a price relay target rule