DELETE
/
buyers
/
{buyer_id}
/
shipping-details
/
{shipping_details_id}
using Gr4vy;
using Gr4vy.Models.Components;

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

var res = await sdk.Buyers.ShippingDetails.DeleteAsync(
    buyerId: "fe26475d-ec3e-4884-9553-f7356683f7f9",
    shippingDetailsId: "bf8c36ad-02d9-4904-b0f9-a230b149e341"
);

// handle response
"<any>"

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 shipping details for.

Examples:

"fe26475d-ec3e-4884-9553-f7356683f7f9"

shipping_details_id
string
required

The ID of the shipping details to delete.

Examples:

"bf8c36ad-02d9-4904-b0f9-a230b149e341"

Response

200
application/json

Successful Response

The response is of type any.