-
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
b7b82f5
commit 2a4e9c2
Showing
97 changed files
with
701 additions
and
242 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/CartDiscount/CartDiscountChangeCartPredicateAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "changeCartPredicate", | ||
"cartPredicate": "cartPredicateString" | ||
} | ||
"cartPredicate": "shippingInfo.taxRate.country = \"DE\"" | ||
} |
6 changes: 3 additions & 3 deletions
6
api-specs/api/examples/CartDiscount/CartDiscountChangeNameAction.json
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"action": "changeName", | ||
"name": { | ||
"en": "NewNameEN", | ||
"de": "NewNameDE" | ||
"en": "New name", | ||
"de": "Neuer Name" | ||
} | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/CartDiscount/CartDiscountChangeRequiresDiscountCodeAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "changeRequiresDiscountCode", | ||
"requiresDiscountCode": true | ||
} | ||
"requiresDiscountCode": false | ||
} |
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/CartDiscount/CartDiscountChangeSortOrderAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "changeSortOrder", | ||
"sortOrder": "0.2" | ||
} | ||
"sortOrder": "0.1" | ||
} |
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/CartDiscount/CartDiscountChangeStackingModeAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "changeStackingMode", | ||
"stackingMode": "Stacking" | ||
} | ||
"stackingMode": "StopAfterThisDiscount" | ||
} |
4 changes: 4 additions & 0 deletions
4
api-specs/api/examples/CartDiscount/CartDiscountCustomLineItemsTarget.json
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,4 @@ | ||
{ | ||
"type": "customLineItems", | ||
"predicate": "customLineItemTotal(1 = 1) = \"20.00 EUR\"" | ||
} |
4 changes: 4 additions & 0 deletions
4
api-specs/api/examples/CartDiscount/CartDiscountLineItemsTarget.json
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,4 @@ | ||
{ | ||
"type": "lineItems", | ||
"predicate": "shippingInfo.price = \"50.00 EUR\"" | ||
} |
8 changes: 8 additions & 0 deletions
8
api-specs/api/examples/CartDiscount/CartDiscountMultiBuyCustomLineItemsTarget.json
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,8 @@ | ||
{ | ||
"type": "multiBuyCustomLineItems", | ||
"predicate": "taxedPrice.gross = \"200.00 EUR\"", | ||
"triggerQuantity": 2, | ||
"discountedQuantity": 1, | ||
"maxOccurrence": 5, | ||
"selectionMode": "MostExpensive" | ||
} |
8 changes: 8 additions & 0 deletions
8
api-specs/api/examples/CartDiscount/CartDiscountMultiBuyLineItemsTarget.json
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,8 @@ | ||
{ | ||
"type": "multiBuyLineItems", | ||
"predicate": "taxedPrice.gross = \"200.00 EUR\"", | ||
"triggerQuantity": 5, | ||
"discountedQuantity": 2, | ||
"maxOccurrence": 10, | ||
"selectionMode": "Cheapest" | ||
} |
6 changes: 3 additions & 3 deletions
6
api-specs/api/examples/CartDiscount/CartDiscountSetDescriptionAction.json
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"action": "setDescription", | ||
"description": { | ||
"en": "New Description EN", | ||
"de": "New Description DE" | ||
"en": "New description", | ||
"de": "neue Beschreibung" | ||
} | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/CartDiscount/CartDiscountSetValidFromAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "setValidFrom", | ||
"validFrom": "2017-10-15T15:00:00.000Z" | ||
} | ||
"validFrom": "2025-10-15T15:00:00.000Z" | ||
} |
6 changes: 3 additions & 3 deletions
6
api-specs/api/examples/CartDiscount/CartDiscountSetValidFromAndUntilAction.json
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"action": "setValidFromAndUntil", | ||
"validFrom": "2017-10-15T15:00:00.000Z", | ||
"validUntil": "2017-10-15T15:05:00.000Z" | ||
} | ||
"validFrom": "2025-10-15T15:00:00.000Z", | ||
"validUntil": "2025-11-15T15:05:00.000Z" | ||
} |
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/CartDiscount/CartDiscountSetValidUntilAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "setValidUntil", | ||
"validUntil": "2017-10-15T20:00:00.000Z" | ||
} | ||
"validUntil": "2025-11-15T20:00:00.000Z" | ||
} |
3 changes: 3 additions & 0 deletions
3
api-specs/api/examples/CartDiscount/CartDiscountShippingCostTarget.json
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,3 @@ | ||
{ | ||
"type": "shipping" | ||
} |
3 changes: 3 additions & 0 deletions
3
api-specs/api/examples/CartDiscount/CartDiscountTotalPriceTarget.json
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,3 @@ | ||
{ | ||
"type": "totalPrice" | ||
} |
10 changes: 10 additions & 0 deletions
10
api-specs/api/examples/CartDiscount/CartDiscountValueAbsolute.json
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,10 @@ | ||
{ | ||
"type": "absolute", | ||
"money": { | ||
"centAmount": 2000, | ||
"currencyCode": "EUR", | ||
"type": "centPrecision", | ||
"fractionDigits": 2 | ||
}, | ||
"applicationMode": "IndividualApplication" | ||
} |
8 changes: 8 additions & 0 deletions
8
api-specs/api/examples/CartDiscount/CartDiscountValueAbsoluteDraft.json
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,8 @@ | ||
{ | ||
"type": "absolute", | ||
"money": { | ||
"centAmount": 2000, | ||
"currencyCode": "EUR" | ||
}, | ||
"applicationMode": "IndividualApplication" | ||
} |
9 changes: 9 additions & 0 deletions
9
api-specs/api/examples/CartDiscount/CartDiscountValueFixed.json
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,9 @@ | ||
{ | ||
"type": "fixed", | ||
"money": { | ||
"centAmount": 2000, | ||
"currencyCode": "EUR", | ||
"type": "centPrecision", | ||
"fractionDigits": 2 | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
api-specs/api/examples/CartDiscount/CartDiscountValueFixedDraft.json
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,7 @@ | ||
{ | ||
"type": "fixed", | ||
"money": { | ||
"centAmount": 2000, | ||
"currencyCode": "EUR" | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
api-specs/api/examples/CartDiscount/CartDiscountValueGiftLineItem.json
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,12 @@ | ||
{ | ||
"type": "giftLineItem", | ||
"product": { | ||
"id": "{{product-id}}", | ||
"typeId" : "product" | ||
}, | ||
"variantId": 1, | ||
"distributionChannel": { | ||
"id": "{{channel-id}}", | ||
"typeId" : "channel" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
api-specs/api/examples/CartDiscount/CartDiscountValueRelative.json
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,4 @@ | ||
{ | ||
"type": "relative", | ||
"permyriad": 1000 | ||
} |
6 changes: 3 additions & 3 deletions
6
api-specs/api/examples/DiscountCode/DiscountCodeSetDescriptionAction.json
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"action": "setDescription", | ||
"description": { | ||
"en": "New Description EN", | ||
"de": "New Description DE" | ||
"en": "New description", | ||
"de": "Neue Beschreibung" | ||
} | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/DiscountCode/DiscountCodeSetMaxApplicationsAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "setMaxApplications", | ||
"maxApplications": 100 | ||
} | ||
"maxApplications": 150 | ||
} |
6 changes: 3 additions & 3 deletions
6
api-specs/api/examples/DiscountCode/DiscountCodeSetNameAction.json
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"action": "setName", | ||
"name": { | ||
"en": "New Name EN", | ||
"de": "New Name DE" | ||
"en": "New name", | ||
"de": "Neuer Name" | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
api-specs/api/examples/DiscountCode/DiscountCodeSetValidFromAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "setValidFrom", | ||
"validFrom": "2018-10-12T14:00:00.000Z" | ||
"validFrom": "2025-10-12T14:00:00.000Z" | ||
} |
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/DiscountCode/DiscountCodeSetValidFromAndUntilAction.json
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"action": "setValidFromAndUntil", | ||
"validFrom": "2018-10-12T14:00:00.000Z", | ||
"validUntil": "2018-10-12T14:05:00.000Z" | ||
"validFrom": "2025-10-12T14:00:00.000Z", | ||
"validUntil": "2025-11-12T14:05:00.000Z" | ||
} |
2 changes: 1 addition & 1 deletion
2
api-specs/api/examples/DiscountCode/DiscountCodeSetValidUntilAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "setValidUntil", | ||
"validUntil": "2018-10-12T14:00:00.000Z" | ||
"validUntil": "2025-11-12T14:00:00.000Z" | ||
} |
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/ProductDiscount/ProductDiscountChangeNameAction.json
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"action": "changeName", | ||
"name": { | ||
"de": "NewProductDiscountDE", | ||
"en": "NewProductDiscountEN" | ||
"de": "Neuer Rabatt", | ||
"en": "New discount" | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
api-specs/api/examples/ProductDiscount/ProductDiscountMatchQuery.json
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,26 @@ | ||
{ | ||
"productId": "{{product-id}}", | ||
"variantId": 1, | ||
"staged": false, | ||
"price": { | ||
"id": "{{price-id}}", | ||
"value": { | ||
"currencyCode": "EUR", | ||
"centAmount": 10000 | ||
}, | ||
"country": "DE", | ||
"customerGroup": { | ||
"typeId": "customer-group", | ||
"id": "{{customer-group-id}}" | ||
}, | ||
"tiers": [ | ||
{ | ||
"minimumQuantity": 10, | ||
"value": { | ||
"currencyCode": "EUR", | ||
"centAmount": 9000 | ||
} | ||
} | ||
] | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
api-specs/api/examples/ProductDiscount/ProductDiscountQueryPrice.json
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,21 @@ | ||
{ | ||
"id": "{{price-id}}", | ||
"value": { | ||
"currencyCode": "EUR", | ||
"centAmount": 10000 | ||
}, | ||
"country": "DE", | ||
"customerGroup": { | ||
"typeId": "customer-group", | ||
"id": "{{customer-group-id}}" | ||
}, | ||
"tiers": [ | ||
{ | ||
"minimumQuantity": 10, | ||
"value": { | ||
"currencyCode": "EUR", | ||
"centAmount": 9000 | ||
} | ||
} | ||
] | ||
} |
6 changes: 3 additions & 3 deletions
6
api-specs/api/examples/ProductDiscount/ProductDiscountSetDescriptionAction.json
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"action": "setDescription", | ||
"description": { | ||
"de": "New Product Discount Description DE", | ||
"en": "New Product Discount Description EN" | ||
"de": "Neue Beschreibung", | ||
"en": "New description" | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
api-specs/api/examples/ProductDiscount/ProductDiscountSetValidFromAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "setValidFrom", | ||
"validFrom": "2018-10-12T14:05:00.000Z" | ||
"validFrom": "2025-10-12T14:05:00.000Z" | ||
} |
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/ProductDiscount/ProductDiscountSetValidFromAndUntilAction.json
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"action": "setValidFromAndUntil", | ||
"validFrom": "2018-10-12T14:00:00.000Z", | ||
"validUntil": "2018-10-12T14:05:00.000Z" | ||
"validFrom": "2025-10-12T14:00:00.000Z", | ||
"validUntil": "2025-11-12T14:05:00.000Z" | ||
} |
2 changes: 1 addition & 1 deletion
2
api-specs/api/examples/ProductDiscount/ProductDiscountSetValidUntilAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "setValidUntil", | ||
"validUntil": "2018-10-12T14:05:00.000Z" | ||
"validUntil": "2025-11-12T14:05:00.000Z" | ||
} |
11 changes: 11 additions & 0 deletions
11
api-specs/api/examples/ProductDiscount/ProductDiscountValueAbsolute.json
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,11 @@ | ||
{ | ||
"type": "absolute", | ||
"money": [ | ||
{ | ||
"type": "centPrecision", | ||
"currencyCode": "EUR", | ||
"centAmount": 100, | ||
"fractionDigits": 2 | ||
} | ||
] | ||
} |
9 changes: 9 additions & 0 deletions
9
api-specs/api/examples/ProductDiscount/ProductDiscountValueAbsoluteDraft.json
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,9 @@ | ||
{ | ||
"type": "absolute", | ||
"money": [ | ||
{ | ||
"currencyCode": "EUR", | ||
"centAmount": 100 | ||
} | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
api-specs/api/examples/ProductDiscount/ProductDiscountValueExternal.json
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,3 @@ | ||
{ | ||
"type": "external" | ||
} |
4 changes: 4 additions & 0 deletions
4
api-specs/api/examples/ProductDiscount/ProductDiscountValueRelative.json
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,4 @@ | ||
{ | ||
"type": "relative", | ||
"permyriad": 1000 | ||
} |
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 |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
"staged" : false, | ||
"value": { | ||
"currencyCode": "EUR", | ||
"centAmount": 10000 | ||
"centAmount": 20000 | ||
} | ||
} |
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 |
---|---|---|
|
@@ -12,4 +12,4 @@ | |
"id": "{{product-discount-id}}" | ||
} | ||
} | ||
} | ||
} |
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
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/StandalonePrice/StandalonePriceSetValidFromAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "setValidFrom", | ||
"validFrom": "2019-03-30T20:30:00.000Z" | ||
} | ||
"validFrom": "2025-03-30T20:30:00.000Z" | ||
} |
6 changes: 3 additions & 3 deletions
6
api-specs/api/examples/StandalonePrice/StandalonePriceSetValidFromAndUntilAction.json
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"action": "setValidFromAndUntil", | ||
"validFrom": "2019-03-30T20:30:00.000Z", | ||
"validUntil": "2019-04-21T20:30:00.000Z" | ||
} | ||
"validFrom": "2025-03-30T20:30:00.000Z", | ||
"validUntil": "2025-04-21T20:30:00.000Z" | ||
} |
4 changes: 2 additions & 2 deletions
4
api-specs/api/examples/StandalonePrice/StandalonePriceSetValidUntilAction.json
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"action": "setValidUntil", | ||
"validUntil": "2019-04-21T20:30:00.000Z" | ||
} | ||
"validUntil": "2025-04-21T20:30:00.000Z" | ||
} |
Oops, something went wrong.