From a92aff71a1fd6f44436b32deeaedab53ba450fe4 Mon Sep 17 00:00:00 2001 From: Traci Porter Date: Tue, 21 Mar 2023 15:08:13 -0500 Subject: [PATCH] DEVDOCS-4633: [revise] Storefront Customers, update schema (#1125) * DEVDOCS-4633 * DEVDOCS-4575: [update] Catalog V3 API, update request response schemas (#1101) Co-authored-by: Tina Gomez Co-authored-by: Sarah Riehl --------- Co-authored-by: bc-andreadao <96258747+bc-andreadao@users.noreply.github.com> Co-authored-by: Tina Gomez Co-authored-by: Sarah Riehl --- reference/catalog.v3.yml | 19 +++++++++++++++++-- reference/customers.sf.yml | 13 +++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/reference/catalog.v3.yml b/reference/catalog.v3.yml index 35541a8a5..db67cc99f 100644 --- a/reference/catalog.v3.yml +++ b/reference/catalog.v3.yml @@ -10270,7 +10270,6 @@ paths: meta: title: Meta type: object - properties: {} description: Empty meta object; may be used later. example: data: @@ -14527,7 +14526,23 @@ paths: data: $ref: '#/components/schemas/metafield_Full' meta: - $ref: '#/components/schemas/metaEmpty_Full' + title: Meta + type: object + properties: {} + description: Empty meta object; may be used later. + example: + data: + id: 4 + key: location_id + value: 'Shelf 3, Bin 5' + namespace: App Namespace + permission_set: app_only + resource_type: brand + resource_id: 137 + description: Where products are located + date_created: '2021-08-06T19:15:35+00:00' + date_modified: '2021-08-06T19:15:35+00:00' + meta: {} examples: example-1: value: diff --git a/reference/customers.sf.yml b/reference/customers.sf.yml index 120f095d1..f27d2ec65 100644 --- a/reference/customers.sf.yml +++ b/reference/customers.sf.yml @@ -86,9 +86,18 @@ components: CustomFields: title: CustomFields type: object + x-internal: false properties: fieldId: type: string fieldValue: - type: string - x-internal: false + oneOf: + - type: string + - type: number + - type: array + items: + type: string +x-stoplight: + docs: + includeDownloadLink: false + showModels: false