diff --git a/openapi/api-docs.yaml b/openapi/api-docs.yaml index 04c20b9a17..e641b2bd98 100644 --- a/openapi/api-docs.yaml +++ b/openapi/api-docs.yaml @@ -17753,6 +17753,69 @@ components: type: object description: 'The pagination links' readOnly: true + LocationRequest: + properties: + name: + description: 'The location name' + type: string + example: 'Warehouse A' + address1: + description: 'The first line of the address' + type: string + example: '123 Business Street' + address2: + description: 'The second line of the address' + type: string + example: 'Suite 100' + city: + description: 'The city name' + type: string + example: 'San Francisco' + state: + description: 'The state or region' + type: string + example: 'CA' + postal_code: + description: 'The postal or zip code' + type: string + example: '94107' + country_id: + description: 'The ID of the associated country' + type: string + example: '840' + custom_value1: + description: 'Custom field value 1' + type: string + nullable: true + custom_value2: + description: 'Custom field value 2' + type: string + nullable: true + custom_value3: + description: 'Custom field value 3' + type: string + nullable: true + custom_value4: + description: 'Custom field value 4' + type: string + nullable: true + is_shipping_location: + description: 'Indicates if this is a shipping location' + type: boolean + example: true + assigned_user_id: + description: 'The assigned user hashed id' + type: string + example: Opnel5aKBz + client_id: + description: 'The client hashed id' + type: string + example: Opnel5aKBz + vendor_id: + description: 'The vendor hashed id' + type: string + example: Opnel5aKBz + type: object Document: properties: id: diff --git a/openapi/components/schemas/location_request.yaml b/openapi/components/schemas/location_request.yaml new file mode 100644 index 0000000000..cf110003f8 --- /dev/null +++ b/openapi/components/schemas/location_request.yaml @@ -0,0 +1,63 @@ + LocationRequest: + properties: + name: + description: 'The location name' + type: string + example: 'Warehouse A' + address1: + description: 'The first line of the address' + type: string + example: '123 Business Street' + address2: + description: 'The second line of the address' + type: string + example: 'Suite 100' + city: + description: 'The city name' + type: string + example: 'San Francisco' + state: + description: 'The state or region' + type: string + example: 'CA' + postal_code: + description: 'The postal or zip code' + type: string + example: '94107' + country_id: + description: 'The ID of the associated country' + type: string + example: '840' + custom_value1: + description: 'Custom field value 1' + type: string + nullable: true + custom_value2: + description: 'Custom field value 2' + type: string + nullable: true + custom_value3: + description: 'Custom field value 3' + type: string + nullable: true + custom_value4: + description: 'Custom field value 4' + type: string + nullable: true + is_shipping_location: + description: 'Indicates if this is a shipping location' + type: boolean + example: true + assigned_user_id: + description: 'The assigned user hashed id' + type: string + example: Opnel5aKBz + client_id: + description: 'The client hashed id' + type: string + example: Opnel5aKBz + vendor_id: + description: 'The vendor hashed id' + type: string + example: Opnel5aKBz + type: object \ No newline at end of file