Skip to content

Commit

Permalink
DEVDOCS-5928: [update] revert PR 427
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-traciporter authored Oct 9, 2024
1 parent eed8091 commit 76d1f6f
Showing 1 changed file with 94 additions and 98 deletions.
192 changes: 94 additions & 98 deletions reference/customers.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 76d1f6f

Please sign in to comment.