Back to Medusa

CreateProvinceGeoZoneDTO

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

2.14.21.2 KB
Original Source

import { TypeList } from "docs-ui"

CreateProvinceGeoZoneDTO

The geo zone to be created of type province.

<TypeList types={[{"name":"service_zone_id","type":"string","description":"The associated service zone's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"country_code","type":"string","description":"The ISO 2 character country code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"type","type":"\"province\"","description":"The type of the geo zone.","optional":false,"defaultValue":"\"province\"","expandable":false,"children":[]},{"name":"province_code","type":"string","description":"The lower-case ISO 3166-2 province code of the geo zone.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"null \| Record<string, any>","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="CreateProvinceGeoZoneDTO"/>