Back to Medusa

CreateServiceZoneDTO

www/apps/resources/references/fulfillment/interfaces/fulfillment.CreateServiceZoneDTO/page.mdx

2.14.21.2 KB
Original Source

import { TypeList } from "docs-ui"

CreateServiceZoneDTO

The service zone to be created.

<TypeList types={[{"name":"name","type":"string","description":"The name of the service zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"fulfillment_set_id","type":"string","description":"The associated fulfillment set's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"geo_zones","type":"(Omit<CreateCountryGeoZoneDTO, "service_zone_id"> \| Omit<CreateProvinceGeoZoneDTO, "service_zone_id"> \| Omit<CreateCityGeoZoneDTO, "service_zone_id"> \| Omit<CreateZipGeoZoneDTO, "service_zone_id">)[]","description":"The geo zones associated with the service zone.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="CreateServiceZoneDTO"/>