Skip to main content
Skip to main content

createShippingProfiles - Fulfillment Module Reference

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

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

This method creates shipping profiles.

Example

const shippingProfiles =
await fulfillmentModuleService.createShippingProfiles([
{
name: "Default",
},
{
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 created shipping profiles.

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

This method creates a shipping profile.

Example

const shippingProfile =
await fulfillmentModuleService.createShippingProfiles({
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 created shipping profile.
Was this section helpful?