Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Oct 18, 2023
1 parent da5022e commit b25b7cc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
7 changes: 7 additions & 0 deletions api-specs/history/types/change/SetLocalizedNameChange.raml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
type: Change
displayName: SetLocalizedNameChange
discriminatorValue: SetLocalizedNameChange
description: |
Change triggered by the following update actions:
- [Set Name](ctp:api:type:DiscountCodeSetNameAction) on Discount Codes.
- [Set State Name](ctp:api:type:StateSetNameAction) on States.
- [Set Name](ctp:api:type:StoreSetNameAction) on Stores.
properties:
type:
type: string
Expand Down
11 changes: 3 additions & 8 deletions api-specs/history/types/change/SetNameChange.raml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
type: Change
displayName: SetNameChange
discriminatorValue: SetNameChange
description: |
Change triggered by the following update actions:
- [Set Name](ctp:api:type:DiscountCodeSetNameAction) on Discount Codes.
- [Set State Name](ctp:api:type:StateSetNameAction) on States.
- [Set Name](ctp:api:type:StoreSetNameAction) on Stores.
description: Change triggered by the [Set Name](ctp:api:type:AssociateRoleSetNameAction) update action.
properties:
type:
type: string
Expand All @@ -19,8 +14,8 @@ properties:
enum:
- setName
previousValue:
type: LocalizedString
type: string
description: Value before the change.
nextValue:
type: LocalizedString
type: string
description: Value after the change.

0 comments on commit b25b7cc

Please sign in to comment.