Files
medusa-store/www/utils/generated/oas-output/schemas/CreateAddress.ts
Shahed Nasser c5bf22f3f4 chore(oas): [17/n] improve OAS schemas (#9284)
Improve OAS schemas [17/n]
2024-09-26 13:07:07 +00:00

58 lines
1.4 KiB
TypeScript

/**
* @schema CreateAddress
* type: object
* description: The cart's address details.
* x-schemaName: CreateAddress
* properties:
* customer_id:
* type: string
* title: customer_id
* description: The ID of the customer this address belongs to.
* company:
* type: string
* title: company
* description: The address's company.
* first_name:
* type: string
* title: first_name
* description: The address's first name.
* last_name:
* type: string
* title: last_name
* description: The address's last name.
* address_1:
* type: string
* title: address_1
* description: The address's first line.
* address_2:
* type: string
* title: address_2
* description: The address's second line.
* city:
* type: string
* title: city
* description: The address's city.
* country_code:
* type: string
* title: country_code
* description: The address's country code.
* example: us
* province:
* type: string
* title: province
* description: The address's province.
* postal_code:
* type: string
* title: postal_code
* description: The address's postal code.
* phone:
* type: string
* title: phone
* description: The address's phone.
* metadata:
* type: object
* description: The address's metadata, can hold custom key-value pairs.
*
*/