Requires a publisher-group or supervisor token with SHOP scope. Supply publisher UUIDs and store public IDs. A maximum of 1000 items is accepted by default; multiple publishers may be included.
Omitted fields are preserved. Set gmc_account_id to null to clear it, or to a nonblank string to replace it. Null is not accepted for enabled or budget fields. Target margin ranges from 0 to 90, and maximum budget mix from 0 to 100. min_budget_threshold is a publisher-level setting and cannot be configured through this API; it is ignored if supplied.
A missing configuration is inserted from publisher-specific defaults merged with supplied values. If the publisher has no active Offsite defaults, target margin 0 and maximum budget mix 80 are used. Initial enablement follows the configured store default (disabled by default). This API does not activate publisher Offsite. Existing rows keep their enablement on GMC-only updates. Terminated stores cannot be configured or updated, even when a configuration already exists.
Valid items are saved despite validation or affiliation failures for other items. All occurrences of duplicate publisher/store pairs fail. Empty arrays return empty results; unchanged items succeed.
GMC account ID. Omit to preserve the current value. Null clears it. Non-null values must not be blank.
Maximum budget mix percent. Omit to preserve. Null is not accepted.
Publisher target margin percent. Omit to preserve. Null is not accepted.
- Retail Media Production Serverhttps://retailmedia.mirakl.net/api/v1/offsite-publisher-stores
- Retail Media Sandbox Serverhttps://retailmedia-dev.mirakl.net/api/v1/offsite-publisher-stores
- Retail Media Production Serverhttps://retailmedia.mirakl.net/api/v1/offsite-publisher-stores
- Retail Media Sandbox Serverhttps://retailmedia-dev.mirakl.net/api/v1/offsite-publisher-stores
curl -i -X PATCH \
https://retailmedia.mirakl.net/api/v1/offsite-publisher-stores \
-H 'Content-Type: application/json' \
-d '[
{
"gmc_account_id": "123456789",
"publisher_id": "99976f22-9900-adef-1235-bff3faaafff1",
"store_id": "store-public-001"
},
{
"enabled": false,
"max_budget_mix": 30,
"publisher_id": "99976f22-9900-adef-1235-bff3faaafff1",
"publisher_target_margin": 15,
"store_id": "store-public-002"
},
{
"gmc_account_id": null,
"publisher_id": "99976f22-9900-adef-1235-bff3faaafff1",
"store_id": "store-public-003"
}
]'