POST /api/v2/storefront/sponsored-buyers/{buyerId}/reactivate
Reactivates a suspended sponsored buyer, moving it back to active. The buyer can once again discover and create media buys against your storefront.
Request
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
buyerId | string (path) | Yes | The buyerCustomerId of a buyer your organization sponsors. Must be a positive integer. |
Response
200 OK with the updated SponsoredBuyer:
Errors
400 VALIDATION_ERROR—buyerIdis not a positive integer.401 UNAUTHORIZED— missing or invalid API key.403 CUSTOMER_ROLE_DENIED— the API key is not a seller account; only sellers manage sponsored buyers.404 NOT_FOUND— no sponsored buyer with this id under your organization.409 CONFLICT— the buyer is notsuspended(for example, alreadyactive).
Related
Sponsored-buyer tasks
All operations
Suspend sponsored buyer
Pause an active buyer
List sponsored buyers
Find a buyer’s id and status
Errors
Shared error contract