From 76d1f6f32284bc324b8236dc69e736b40865c446 Mon Sep 17 00:00:00 2001 From: Traci Porter Date: Wed, 9 Oct 2024 15:29:47 -0500 Subject: [PATCH] DEVDOCS-5928: [update] revert PR 427 --- reference/customers.v3.yml | 192 ++++++++++++++++++------------------- 1 file changed, 94 insertions(+), 98 deletions(-) diff --git a/reference/customers.v3.yml b/reference/customers.v3.yml index 42088fce6..8797d9d3a 100644 --- a/reference/customers.v3.yml +++ b/reference/customers.v3.yml @@ -1672,12 +1672,6 @@ paths: operationId: getCustomersMetafields parameters: - $ref: '#/components/parameters/customerId' - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Metafield' responses: '200': $ref: '#/components/responses/MetafieldCollectionResponse' @@ -3078,98 +3072,100 @@ components: schema: type: object properties: - items: - type: object - properties: - id: - type: integer - description: Unique ID of the *Metafield*. Read-Only. - readOnly: true - example: 0 - key: - type: string - description: The key for the metafields. - example: Staff Name - value: - type: string - description: The description for the metafield. - example: Ronaldo - namespace: - type: string - description: | - Namespace for the metafield, for organizational purposes. - example: Sales Department - minLength: 1 - maxLength: 64 - permission_set: - type: string - description: | - Determines the visibility and writeability of the field by other API consumers. - | Value | Description | - | :--- | :--- | - | `app_only` | Private to the app that owns the field. | - | `read` | Visible to other API consumers. | - | `write` | Open for reading and writing by other API consumers. | - | `read_and_sf_access` | Visible to other API consumers, including on storefront. | - | `write_and_sf_access` | Open for reading and writing by other API consumers, including on storefront. | - enum: - - app_only - - read - - write - - read_and_sf_access - - write_and_sf_access - resource_type: - type: string - description: | - The type of resource with which the metafield is associated. - enum: - - brand - - product - - variant - - category - - cart - - channel - - location - - order - - customer - example: cart - resource_id: - type: integer - description: | - The unique identifier for the resource with which the metafield is associated. - example: 0 - readOnly: true - description: - type: string - description: | - Description for the metafields. - example: order - date_created: - type: string - format: date-time - description: Date and time of the metafieldʼs creation. - example: '2022-06-16T18:39:00+00:00' - date_modified: - type: string - format: date-time - description: Date and time when the metafield was last updated. - example: '2022-06-16T18:39:00+00:00' - owner_client_id: - type: string - description: Client ID for the metafield's creator. - readOnly: true - example: ramciw4fnoz87it3ynjfif2zrkil5p - required: - - namespace - - key - - value - - permission_set - - resource_type - - resource_id - - description - - id - - date_created - - date_modified + data: + type: + items: + type: object + properties: + id: + type: integer + description: Unique ID of the *Metafield*. Read-Only. + readOnly: true + example: 0 + key: + type: string + description: The key for the metafields. + example: Staff Name + value: + type: string + description: The description for the metafield. + example: Ronaldo + namespace: + type: string + description: | + Namespace for the metafield, for organizational purposes. + example: Sales Department + minLength: 1 + maxLength: 64 + permission_set: + type: string + description: | + Determines the visibility and writeability of the field by other API consumers. + | Value | Description | + | :--- | :--- | + | `app_only` | Private to the app that owns the field. | + | `read` | Visible to other API consumers. | + | `write` | Open for reading and writing by other API consumers. | + | `read_and_sf_access` | Visible to other API consumers, including on storefront. | + | `write_and_sf_access` | Open for reading and writing by other API consumers, including on storefront. | + enum: + - app_only + - read + - write + - read_and_sf_access + - write_and_sf_access + resource_type: + type: string + description: | + The type of resource with which the metafield is associated. + enum: + - brand + - product + - variant + - category + - cart + - channel + - location + - order + - customer + example: cart + resource_id: + type: integer + description: | + The unique identifier for the resource with which the metafield is associated. + example: 0 + readOnly: true + description: + type: string + description: | + Description for the metafields. + example: order + date_created: + type: string + format: date-time + description: Date and time of the metafieldʼs creation. + example: '2022-06-16T18:39:00+00:00' + date_modified: + type: string + format: date-time + description: Date and time when the metafield was last updated. + example: '2022-06-16T18:39:00+00:00' + owner_client_id: + type: string + description: Client ID for the metafield's creator. + readOnly: true + example: ramciw4fnoz87it3ynjfif2zrkil5p + required: + - namespace + - key + - value + - permission_set + - resource_type + - resource_id + - description + - id + - date_created + - date_modified consent_Resp: description: '' content: