DELETE
/
buyers
/
{buyer_id}
using Gr4vy;
using Gr4vy.Models.Components;

var sdk = new Gr4vySDK(
    id: "example",
    server: SDKConfig.Server.Sandbox,
    bearerAuthSource: Auth.WithToken(privateKey),
    merchantAccountId: "default"
);

await sdk.Buyers.DeleteAsync(buyerId: "fe26475d-ec3e-4884-9553-f7356683f7f9");

// handle response
This response does not have an example.

This endpoint requires the buyers.write scope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-gr4vy-merchant-account-id
string | null

The ID of the merchant account to use for this request.

Examples:

"default"

Path Parameters

buyer_id
string
required

The ID of the buyer to delete.

Examples:

"fe26475d-ec3e-4884-9553-f7356683f7f9"

Response

204

Successful Response