Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Aug 22, 2024
1 parent 754260f commit 83b81d8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions api-specs/import/types/error.raml
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,28 @@ types:
GenericError:
type: ErrorObject
discriminatorValue: Generic
ReferencedResourceNotFound:
type: ErrorObject
displayName: ReferencedResourceNotFoundError
discriminatorValue: ReferencedResourceNotFound
description: |
Returned when a resource referenced by a [Reference](/../api/types#reference) or a [ResourceIdentifier](/../api/types#resourceidentifier) could not be found.
properties:
code:
type: string
message:
type: string
description: |
`"The referenced object of type $typeId $predicate was not found. It either doesn't exist, or it can't be accessed from this endpoint (e.g., if the endpoint filters by store or customer account)."`
typeId:
type: common.ReferenceType
description: |
Type of referenced resource.
id?:
type: string
description: |
Unique identifier of the referenced resource, if known.
key?:
type: string
description: |
User-defined unique identifier of the referenced resource, if known.

0 comments on commit 83b81d8

Please sign in to comment.