Skip to content

Commit

Permalink
DEVDOCS-4633: [revise] Storefront Customers, update schema (#1125)
Browse files Browse the repository at this point in the history
* DEVDOCS-4633

* DEVDOCS-4575: [update] Catalog V3 API, update request response schemas (#1101)

Co-authored-by: Tina Gomez <[email protected]>
Co-authored-by: Sarah Riehl <[email protected]>

---------

Co-authored-by: bc-andreadao <[email protected]>
Co-authored-by: Tina Gomez <[email protected]>
Co-authored-by: Sarah Riehl <[email protected]>
  • Loading branch information
4 people committed Mar 21, 2023
1 parent c510ac3 commit a92aff7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
19 changes: 17 additions & 2 deletions reference/catalog.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10270,7 +10270,6 @@ paths:
meta:
title: Meta
type: object
properties: {}
description: Empty meta object; may be used later.
example:
data:
Expand Down Expand Up @@ -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:
Expand Down
13 changes: 11 additions & 2 deletions reference/customers.sf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a92aff7

Please sign in to comment.