- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createStockLocations - Medusa Core Workflows Reference
This documentation provides a reference to the createStockLocations
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more stock locations.
Input#
CreateStockLocationsStepInput
CreateStockLocationsStepInput
CreateStockLocationsStepInput
CreateStockLocationsStepInputname
stringThe name of the stock location.
name
stringaddress_id
string | nullOptionalThe associated address's ID.
address_id
string | nullOptionalThe associated address.
Holds custom data in key-value pairs.
Output#
StockLocationDTO[]
StockLocationDTO[]
StockLocationDTO[]
StockLocationDTO[]StockLocationDTO
StockLocationDTORepresents a Stock Location
StockLocationDTO
StockLocationDTOWas this page helpful?