Solid Commerce Docs
DELETE/v1/fulfillment/ship-now/void/{shipmentId}

DELETE /v1/fulfillment/ship-now/void/{shipmentId}

Scopes: fulfillment:ship_now:write

Requires scope: fulfillment:ship_now:write.

Parameters

NameInTypeRequiredDescription
shipmentIdpathinteger<int32>yes
void_with_carrierquerybooleanno

Examples

import { SolidCommerceClient } from '@solidcommerce/sdk';

const client = new SolidCommerceClient({
  apiKey: process.env.SOLIDCOMMERCE_API_KEY!,
});

const { data, error } = await client.raw.DELETE('/v1/fulfillment/ship-now/void/{shipmentId}', {
  // params: { path: { id: '...' }, query: { limit: 25 } },
  // body: { /* request body */ },
});

if (error) throw error;
console.log(data);