From ef58b4c651f80dd5c2a57b32c02a3ff8b27c9240 Mon Sep 17 00:00:00 2001 From: Traci Porter Date: Mon, 14 Oct 2024 09:57:16 -0500 Subject: [PATCH 1/2] Issue-581 --- reference/customers.v3.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/reference/customers.v3.yml b/reference/customers.v3.yml index 42088fce6..98a96c9ee 100644 --- a/reference/customers.v3.yml +++ b/reference/customers.v3.yml @@ -204,6 +204,13 @@ paths: responses: '200': $ref: '#/components/responses/CustomerCollectionResponse' + '422': + description: | + The optional filter parameter was not valid. This is the result of missing required fields, or of invalid data. See the response for more details. + content: + application/json: + schema: + $ref: '#/components/schemas/Error' post: description: |- Creates Customers. Create up to 10 customers in one call. @@ -414,6 +421,13 @@ paths: '204': description: '' headers: {} + '422': + description: The `id:in` was not valid. This is the result of missing required fields, or of invalid data. See the response for more details. + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + '/customers/{customerId}/metafields/{metafieldId}': '/customers/addresses': get: description: Returns a list of Customer Addresses. Optional filter parameters can be passed in. From 699a31a77585db3345723868eb74a26d3e915b23 Mon Sep 17 00:00:00 2001 From: Traci Porter Date: Mon, 14 Oct 2024 10:05:35 -0500 Subject: [PATCH 2/2] fix linter error --- reference/customers.v3.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/reference/customers.v3.yml b/reference/customers.v3.yml index 98a96c9ee..47e7a345e 100644 --- a/reference/customers.v3.yml +++ b/reference/customers.v3.yml @@ -427,7 +427,6 @@ paths: application/json: schema: $ref: '#/components/schemas/Error' - '/customers/{customerId}/metafields/{metafieldId}': '/customers/addresses': get: description: Returns a list of Customer Addresses. Optional filter parameters can be passed in.