Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminPostStockLocationsReqAddress.yaml
2023-11-10 14:27:17 +02:00

40 lines
1018 B
YAML

type: object
required:
- address_1
- country_code
properties:
address_1:
type: string
description: Stock location address
example: 35, Jhon Doe Ave
address_2:
type: string
description: Stock location address' complement
example: apartment 4432
company:
type: string
description: Stock location address' company
city:
type: string
description: Stock location address' city
example: Mexico city
country_code:
description: The two character ISO code for the country.
type: string
externalDocs:
url: >-
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
description: See a list of codes.
phone:
type: string
description: Stock location address' phone number
example: +1 555 61646
postal_code:
type: string
description: Stock location address' postal code
example: HD3-1G8
province:
type: string
description: Stock location address' province
example: Sinaloa