-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated API from documentation release
- Loading branch information
1 parent
672766b
commit d6c4e8c
Showing
5 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#%RAML 1.0 DataType | ||
(package): Error | ||
type: ErrorObject | ||
displayName: LockedFieldError | ||
discriminatorValue: LockedField | ||
description: | | ||
Returned when two [Customers](ctp:api:type:Customer) are simultaneously created or updated with the same email address. | ||
To confirm if the operation was successful, repeat the request. | ||
properties: | ||
field: | ||
type: string | ||
description: | | ||
Field that is currently locked. | ||
code: | ||
type: string | ||
message: | ||
type: string | ||
description: | | ||
`"'$field' is locked by another request. Please try again later."` |
16 changes: 16 additions & 0 deletions
16
api-specs/api/types/error/graphql/GraphQLLockedFieldError.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#%RAML 1.0 DataType | ||
(package): Error | ||
type: GraphQLErrorObject | ||
displayName: GraphQLLockedFieldError | ||
discriminatorValue: LockedField | ||
description: | | ||
Returned when two [Customers](ctp:api:type:Customer) are simultaneously created or updated with the same email address. | ||
To confirm if the operation was successful, repeat the request. | ||
properties: | ||
field: | ||
type: string | ||
description: | | ||
Field that is currently locked. | ||
code: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters