fix(js-sdk): fix the API route used in fulfillment.cancel method (#11936)

This commit is contained in:
Shahed Nasser
2025-03-21 15:08:44 +00:00
committed by GitHub
parent df5ae50612
commit 053326950d
2 changed files with 6 additions and 1 deletions
@@ -85,7 +85,7 @@ export class Fulfillment {
headers?: ClientHeaders
) {
return await this.client.fetch<HttpTypes.AdminFulfillmentResponse>(
`/admin/fulfillments/${id}`,
`/admin/fulfillments/${id}/cancel`,
{
method: "POST",
body: {},