v1

latestOpenAPI 3.0.42026-07-2685196386.6 KB
Affiliate

Blacklist an affiliate.

Disables the affiliate, blocks the customer on the store, and adds their email to the store's blacklist. Requires the stores.affiliates.update permission.

post/stores/{storeId}/affiliates/{customerId}/blacklist

Path parameters

storeIdstring uuid required

Store containing the affiliate.

customerIdstring uuid required

The customer ID of the affiliate to blacklist.

Response

The object was successfully updated.

successboolean required

Indicates whether the operation or response was successful.

messagestring nullable

A descriptive message providing additional context or information about the response.

codestring nullable

The error code (if there was an error) to use when referencing the error

{"stackTrail":"components:schemas:ObjectResponse:properties:data","oasType":"schema","type":"unknown","description":"Represents the data associated with a response.","nullable":true}
All 85 operations