From f2f85719ec4ef4b8dee426817a04d5c82a375389 Mon Sep 17 00:00:00 2001 From: Andrea Dao Date: Wed, 7 Feb 2024 17:54:29 -0600 Subject: [PATCH] update 422 responses --- reference/carts.v3.yml | 15 +++++---------- reference/catalog/brands_catalog.v3.yml | 15 +++++---------- reference/catalog/categories_catalog.v3.yml | 15 +++++---------- reference/catalog/product-variants_catalog.v3.yml | 15 +++++---------- reference/catalog/products_catalog.v3.yml | 15 +++++---------- reference/channels.v3.yml | 15 +++++---------- reference/customers.v3.yml | 15 +++++---------- reference/orders.v3.yml | 15 +++++---------- 8 files changed, 40 insertions(+), 80 deletions(-) diff --git a/reference/carts.v3.yml b/reference/carts.v3.yml index e1423db2b..b4ab33209 100644 --- a/reference/carts.v3.yml +++ b/reference/carts.v3.yml @@ -992,7 +992,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse_Batch' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error put: @@ -1033,7 +1033,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse_Batch' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error delete: @@ -1064,7 +1064,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionDeleteResponsePartialSuccess' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' components: schemas: CartUpdateRequest: @@ -3293,19 +3293,14 @@ components: meta: $ref: '#/components/schemas/WriteCollectionSuccessMeta' x-internal: false - MetaFieldCollectionDeleteResponsePartialSuccess: + MetaFieldCollectionResponsePartialSuccess: type: object description: | Response payload for the BigCommerce API. properties: data: type: array - items: - type: integer - description: | - The unique identifier for the metafield. - example: - - 123 + example: [] errors: type: array items: diff --git a/reference/catalog/brands_catalog.v3.yml b/reference/catalog/brands_catalog.v3.yml index bc4531338..796d7c846 100644 --- a/reference/catalog/brands_catalog.v3.yml +++ b/reference/catalog/brands_catalog.v3.yml @@ -1652,7 +1652,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error put: @@ -1693,7 +1693,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error delete: @@ -1724,7 +1724,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionDeleteResponsePartialSuccess' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' components: schemas: brand_Full: @@ -2118,19 +2118,14 @@ components: meta: $ref: '#/components/schemas/CollectionMeta' x-internal: false - MetaFieldCollectionDeleteResponsePartialSuccess: + MetaFieldCollectionResponsePartialSuccess: type: object description: | Response payload for the BigCommerce API. properties: data: type: array - items: - type: integer - description: | - The unique identifier for the metafield. - example: - - 123 + example: [] errors: type: array items: diff --git a/reference/catalog/categories_catalog.v3.yml b/reference/catalog/categories_catalog.v3.yml index 90f032519..9ed085705 100644 --- a/reference/catalog/categories_catalog.v3.yml +++ b/reference/catalog/categories_catalog.v3.yml @@ -1847,7 +1847,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error put: @@ -1888,7 +1888,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error delete: @@ -1919,7 +1919,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionDeleteResponsePartialSuccess' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' components: schemas: category_Full: @@ -2552,19 +2552,14 @@ components: meta: $ref: '#/components/schemas/CollectionMeta' x-internal: false - MetaFieldCollectionDeleteResponsePartialSuccess: + MetaFieldCollectionResponsePartialSuccess: type: object description: | Response payload for the BigCommerce API. properties: data: type: array - items: - type: integer - description: | - The unique identifier for the metafield. - example: - - 123 + example: [] errors: type: array items: diff --git a/reference/catalog/product-variants_catalog.v3.yml b/reference/catalog/product-variants_catalog.v3.yml index 074d7bac7..f58425086 100644 --- a/reference/catalog/product-variants_catalog.v3.yml +++ b/reference/catalog/product-variants_catalog.v3.yml @@ -1780,7 +1780,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error put: @@ -1821,7 +1821,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error delete: @@ -1852,7 +1852,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionDeleteResponsePartialSuccess' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' components: schemas: categoriesTree_Resp: @@ -2603,19 +2603,14 @@ components: meta: $ref: '#/components/schemas/CollectionMeta' x-internal: false - MetaFieldCollectionDeleteResponsePartialSuccess: + MetaFieldCollectionResponsePartialSuccess: type: object description: | Response payload for the BigCommerce API. properties: data: type: array - items: - type: integer - description: | - The unique identifier for the metafield. - example: - - 123 + example: [] errors: type: array items: diff --git a/reference/catalog/products_catalog.v3.yml b/reference/catalog/products_catalog.v3.yml index 0aa02ad7e..a94d5f30b 100644 --- a/reference/catalog/products_catalog.v3.yml +++ b/reference/catalog/products_catalog.v3.yml @@ -6349,7 +6349,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error put: @@ -6390,7 +6390,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error delete: @@ -6421,7 +6421,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionDeleteResponsePartialSuccess' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' components: schemas: productModifier_Base: @@ -8889,19 +8889,14 @@ components: meta: $ref: '#/components/schemas/CollectionMeta' x-internal: false - MetaFieldCollectionDeleteResponsePartialSuccess: + MetaFieldCollectionResponsePartialSuccess: type: object description: | Response payload for the BigCommerce API. properties: data: type: array - items: - type: integer - description: | - The unique identifier for the metafield. - example: - - 123 + example: [] errors: type: array items: diff --git a/reference/channels.v3.yml b/reference/channels.v3.yml index 476a0a58d..013bcad06 100644 --- a/reference/channels.v3.yml +++ b/reference/channels.v3.yml @@ -812,7 +812,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error put: @@ -843,7 +843,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error delete: @@ -874,7 +874,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionDeleteResponsePartialSuccess' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' components: parameters: Accept: @@ -2387,19 +2387,14 @@ components: meta: $ref: '#/components/schemas/CollectionMeta' x-internal: false - MetaFieldCollectionDeleteResponsePartialSuccess: + MetaFieldCollectionResponsePartialSuccess: type: object description: | Response payload for the BigCommerce API. properties: data: type: array - items: - type: integer - description: | - The unique identifier for the metafield. - example: - - 123 + example: [] errors: type: array items: diff --git a/reference/customers.v3.yml b/reference/customers.v3.yml index 92cfe7fe3..c06d3746d 100644 --- a/reference/customers.v3.yml +++ b/reference/customers.v3.yml @@ -1686,7 +1686,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error put: @@ -1727,7 +1727,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error delete: @@ -1758,7 +1758,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionDeleteResponsePartialSuccess' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' components: parameters: customerId: @@ -4146,19 +4146,14 @@ components: meta: $ref: '#/components/schemas/CollectionMeta' x-internal: false - MetaFieldCollectionDeleteResponsePartialSuccess: + MetaFieldCollectionResponsePartialSuccess: type: object description: | Response payload for the BigCommerce API. properties: data: type: array - items: - type: integer - description: | - The unique identifier for the metafield. - example: - - 123 + example: [] errors: type: array items: diff --git a/reference/orders.v3.yml b/reference/orders.v3.yml index 674865d3f..22bb1a119 100644 --- a/reference/orders.v3.yml +++ b/reference/orders.v3.yml @@ -927,7 +927,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error put: @@ -968,7 +968,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionResponse' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' '500': description: Internal Server Error delete: @@ -999,7 +999,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/MetaFieldCollectionDeleteResponsePartialSuccess' + $ref: '#/components/schemas/MetaFieldCollectionResponsePartialSuccess' components: schemas: GetReturnsSettings: @@ -3022,19 +3022,14 @@ components: x-examples: example-1: $ref: '#/components/examples/EnableMultipleOrderNotifications/value' - MetaFieldCollectionDeleteResponsePartialSuccess: + MetaFieldCollectionResponsePartialSuccess: type: object description: | Response payload for the BigCommerce API. properties: data: type: array - items: - type: integer - description: | - The unique identifier for the metafield. - example: - - 123 + example: [] errors: type: array items: