-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated api-reference from documentation release
- Loading branch information
Auto Mation
committed
Oct 10, 2024
1 parent
5fe6164
commit feba00b
Showing
159 changed files
with
2,371 additions
and
554 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
"currencyCode": "EUR", | ||
"centAmount": 40099 | ||
} | ||
] | ||
], | ||
"applicationMode": "IndividualApplication" | ||
} | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
api-specs/api/examples/ProductTailoring/ProductTailoringSetAttributeAction.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,6 @@ | ||
{ | ||
"action": "setAttribute", | ||
"variantId": 1, | ||
"name": "ExampleStringTypeAttribute", | ||
"value": "TextString" | ||
} |
5 changes: 5 additions & 0 deletions
5
api-specs/api/examples/ProductTailoring/ProductTailoringSetAttributeInAllVariantsAction.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,5 @@ | ||
{ | ||
"action": "setAttributeInAllVariants", | ||
"name": "ExampleStringTypeAttribute", | ||
"value": "TextString" | ||
} |
4 changes: 4 additions & 0 deletions
4
api-specs/api/examples/Warning/ImageProcessingOngoingWarning.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 @@ | ||
{ | ||
"code": "ImageProcessingOngoing", | ||
"message": "The image processing is still ongoing." | ||
} |
21 changes: 21 additions & 0 deletions
21
api-specs/api/examples/extension-update-response.example.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": "8062243c-46fc-40b5-88a4-75e2216aef75", | ||
"version": 2, | ||
"createdAt": "2017-01-25T14:14:22.417Z", | ||
"lastModifiedAt": "2024-08-06T13:49:48.511Z", | ||
"destination": { | ||
"type": "HTTP", | ||
"url": "https://example.azurewebsites.net/api/extension", | ||
"authentication": { | ||
"type": "AzureFunctions", | ||
"key": "****code" | ||
} | ||
}, | ||
"triggers": [ | ||
{ | ||
"resourceTypeId": "cart", | ||
"actions": ["Create", "Update"] | ||
} | ||
], | ||
"key": "my-new-extension-key" | ||
} |
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,9 @@ | ||
{ | ||
"version": 1, | ||
"actions": [{ | ||
"action": "setKey", | ||
"key": "my-new-extension-key" | ||
}] | ||
"actions": [ | ||
{ | ||
"action": "setKey", | ||
"key": "my-new-extension-key" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"key": "ie-key-1", | ||
"sku": "sku_GIRLS_CREW_variant1_1421832124541", | ||
"quantityOnStock": 4, | ||
"availableQuantity": 4 | ||
"quantityOnStock": 4 | ||
} |
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,74 @@ | ||
{ | ||
"type": "Order", | ||
"id": "35f816ea-7770-4623-895b-7a6454e22e8a", | ||
"version": 1, | ||
"createdAt": "2024-10-09T23:12:14.264Z", | ||
"lastModifiedAt": "2024-10-09T23:12:14.264Z", | ||
"lastModifiedBy": { | ||
"clientId": "qnfzsm5-qNfCGwHiRgI03Emc", | ||
"isPlatformClient": false | ||
}, | ||
"createdBy": { | ||
"clientId": "qnfzsm5-qNfCGwHiRgI03Emc", | ||
"isPlatformClient": false | ||
}, | ||
"orderNumber": "100000001", | ||
"totalPrice": { | ||
"type": "centPrecision", | ||
"currencyCode": "EUR", | ||
"centAmount": 4200, | ||
"fractionDigits": 2 | ||
}, | ||
"orderState": "Open", | ||
"syncInfo": [], | ||
"returnInfo": [], | ||
"taxMode": "External", | ||
"inventoryMode": "None", | ||
"taxRoundingMode": "HalfEven", | ||
"taxCalculationMode": "LineItemLevel", | ||
"origin": "Customer", | ||
"shippingMode": "Single", | ||
"shipping": [], | ||
"lineItems": [], | ||
"customLineItems": [ | ||
{ | ||
"id": "fc864da7-0cc9-438f-9626-4d5907ea51c9", | ||
"name": { | ||
"en": "Name EN", | ||
"de": "Name DE" | ||
}, | ||
"money": { | ||
"type": "centPrecision", | ||
"currencyCode": "EUR", | ||
"centAmount": 4200, | ||
"fractionDigits": 2 | ||
}, | ||
"slug": "mySlug", | ||
"quantity": 1, | ||
"discountedPricePerQuantity": [], | ||
"state": [ | ||
{ | ||
"quantity": 1, | ||
"state": { | ||
"typeId": "state", | ||
"id": "7e3b7f8b-74c1-4d01-8335-0197ba1de6e9" | ||
} | ||
} | ||
], | ||
"totalPrice": { | ||
"type": "centPrecision", | ||
"currencyCode": "EUR", | ||
"centAmount": 4200, | ||
"fractionDigits": 2 | ||
}, | ||
"taxedPricePortions": [], | ||
"perMethodTaxRate": [], | ||
"priceMode": "Standard" | ||
} | ||
], | ||
"transactionFee": false, | ||
"discountCodes": [], | ||
"directDiscounts": [], | ||
"itemShippingAddresses": [], | ||
"refusedGifts": [] | ||
} |
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,22 @@ | ||
{ | ||
"orderNumber": "100000001", | ||
"totalPrice": { | ||
"centAmount": 1000, | ||
"centAmount": 4200, | ||
"currencyCode": "EUR" | ||
} | ||
}, | ||
"lineItems": [], | ||
"customLineItems": [ | ||
{ | ||
"name": { | ||
"en": "Name EN", | ||
"de": "Name DE" | ||
}, | ||
"quantity": 1, | ||
"money": { | ||
"currencyCode": "EUR", | ||
"centAmount": 4200 | ||
}, | ||
"slug": "mySlug" | ||
} | ||
] | ||
} |
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
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
81 changes: 81 additions & 0 deletions
81
api-specs/api/examples/product-tailoring-with-image-processing-warning.example.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,81 @@ | ||
{ | ||
"id": "207ee692-6002-4570-a78c-d15e7adbebbb", | ||
"version": 2, | ||
"createdAt": "2023-09-01T13:26:10.475Z", | ||
"lastModifiedAt": "2023-09-01T13:26:10.475Z", | ||
"lastModifiedBy": { | ||
"clientId": "ywjliB_u26xzmcJNKznjbJp4", | ||
"isPlatformClient": false | ||
}, | ||
"createdBy": { | ||
"clientId": "ywjliB_u26xzmcJNKznjbJp4", | ||
"isPlatformClient": false | ||
}, | ||
"product": { | ||
"typeId": "product", | ||
"id": "daf720e5-9e8e-4300-98db-3a3219327db9" | ||
}, | ||
"store": { | ||
"typeId": "store", | ||
"key": "store-key" | ||
}, | ||
"current": { | ||
"variants": [] | ||
}, | ||
"staged": { | ||
"name": { | ||
"en": "tailored name" | ||
}, | ||
"description": { | ||
"en": "tailored description" | ||
}, | ||
"metaTitle": { | ||
"en": "tailored meta title" | ||
}, | ||
"metaDescription": { | ||
"en": "tailored meta description" | ||
}, | ||
"metaKeywords": { | ||
"en": "tailored meta keywords" | ||
}, | ||
"slug": { | ||
"en": "tailored-slug" | ||
}, | ||
"variants": [ | ||
{ | ||
"id": 1, | ||
"images": [ | ||
{ | ||
"url": "//myimage.jpg", | ||
"dimensions": { | ||
"w": 400, | ||
"h": 300 | ||
} | ||
} | ||
], | ||
"assets": [] | ||
}, | ||
{ | ||
"id": 2, | ||
"images": [ | ||
{ | ||
"url": "//myimage-2.png", | ||
"dimensions": { | ||
"w": 400, | ||
"h": 300 | ||
} | ||
} | ||
], | ||
"assets": [] | ||
} | ||
] | ||
}, | ||
"published": false, | ||
"hasStagedChanges": true, | ||
"warnings": [ | ||
{ | ||
"code": "ImageProcessingOngoing", | ||
"message": "The image processing is still ongoing." | ||
} | ||
] | ||
} |
Oops, something went wrong.