Breaking Change - Patch to Put Fulfillment (Deprecable)

Deployed Date: 3/6/24

Deprecation Date: 03/25/2024

We are changing the PATCH fulfillment to be a PUT fulfillment. The existing PATCH fulfillment already acts as a PUT, so we’ve decided it’s better to have it as such until we can implement a proper PATCH. We will keep the PATCH around in a deprecated state until 03/25/2024 at which point it will be removed. API docs have been updated to reflect this change.

PATCH /cart/{orderId}/fulfillment -> PUT /cart/{orderId}/fulfillment

Migration path

If you are calling this endpoint yourself, it’s as simple as changing the PATCH method to a PUT.

If you are using the SDK, version v1.0.0-alpha.14 has updated all patch references to put. The SDK guide has been updated to reflect these changes.

// Old
// request TS type of PatchFulfillmentRequest
const result = await sdk.cart.patchFulfillment(request);
// New
// request TS type of PutFulfillmentRequest
const result = await sdk.cart.putFulfillment(request);