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.ShippingDetails.DeleteAsync(
buyerId: "fe26475d-ec3e-4884-9553-f7356683f7f9",
shippingDetailsId: "bf8c36ad-02d9-4904-b0f9-a230b149e341"
);
// handle response{
"type": "error",
"code": "bad_request",
"status": 400,
"message": "Generic error",
"details": []
}Delete the shipping details associated to a specific buyer.
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.ShippingDetails.DeleteAsync(
buyerId: "fe26475d-ec3e-4884-9553-f7356683f7f9",
shippingDetailsId: "bf8c36ad-02d9-4904-b0f9-a230b149e341"
);
// handle response{
"type": "error",
"code": "bad_request",
"status": 400,
"message": "Generic error",
"details": []
}buyers.write scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the merchant account to use for this request.
"default"
The ID of the buyer to delete shipping details for.
"fe26475d-ec3e-4884-9553-f7356683f7f9"
The ID of the shipping details to delete.
"bf8c36ad-02d9-4904-b0f9-a230b149e341"
Successful Response