Skip to main content
Skip to main content

updateShippingProfiles - Fulfillment Module Reference

This documentation provides a reference to the updateShippingProfiles method. This belongs to the Fulfillment Module.

updateShippingProfiles(data, sharedContext?): Promise<ShippingProfileDTO[]>

This method updates existing shipping profiles.

Example

const shippingProfiles =
await fulfillmentModuleService.updateShippingProfiles([
{
id: "sp_123",
name: "Default",
},
{
id: "sp_321",
name: "Digital",
},
])

Parameters

The shipping profiles to be created.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<ShippingProfileDTO[]>Required
The updated shipping profiles.

updateShippingProfiles(data, sharedContext?): Promise<ShippingProfileDTO>

This method updates an existing shipping profiles.

Example

const shippingProfiles =
await fulfillmentModuleService.updateShippingProfiles({
id: "sp_123",
name: "Default",
})

Parameters

The shipping profile to be created.
sharedContextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<ShippingProfileDTO>Required
The updated shipping profiles.
Was this section helpful?