-
Notifications
You must be signed in to change notification settings - Fork 27
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
Auto Mation
committed
Oct 5, 2023
1 parent
094bf52
commit 8d9d12d
Showing
31 changed files
with
873 additions
and
0 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
1 change: 1 addition & 0 deletions
1
api-specs/api/examples/ProductTailoring/ProductTailoringPublishAction.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 @@ | ||
{ "action": "publish" } |
5 changes: 5 additions & 0 deletions
5
api-specs/api/examples/ProductTailoring/ProductTailoringSetDescriptionAction.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": "setDescription", | ||
"description": { "en": "A description" }, | ||
"staged": true | ||
} |
5 changes: 5 additions & 0 deletions
5
api-specs/api/examples/ProductTailoring/ProductTailoringSetNameAction.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": "setName", | ||
"name": { "en": "A name" }, | ||
"staged": true | ||
} |
5 changes: 5 additions & 0 deletions
5
api-specs/api/examples/ProductTailoring/ProductTailoringSetSlugAction.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": "setSlug", | ||
"slug": { "en": "a-slug" }, | ||
"staged": true | ||
} |
1 change: 1 addition & 0 deletions
1
api-specs/api/examples/ProductTailoring/ProductTailoringUnpublishAction.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 @@ | ||
{ "action": "unpublish" } |
11 changes: 11 additions & 0 deletions
11
api-specs/api/examples/product-tailoring-create.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,11 @@ | ||
{ | ||
"product": { | ||
"typeId": "product", | ||
"id": "daf720e5-9e8e-4300-98db-3a3219327db9" | ||
}, | ||
"store": { "key": "store-key" }, | ||
"name": { "en": "tailored name" }, | ||
"slug": { "en": "tailored-slug" }, | ||
"description": { "en": "tailored description" }, | ||
"publish": false | ||
} |
10 changes: 10 additions & 0 deletions
10
api-specs/api/examples/product-tailoring-in-store-create.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,10 @@ | ||
{ | ||
"product": { | ||
"typeId": "product", | ||
"id": "daf720e5-9e8e-4300-98db-3a3219327db9" | ||
}, | ||
"name": { "en": "tailored name" }, | ||
"slug": { "en": "tailored-slug" }, | ||
"description": { "en": "tailored description" }, | ||
"publish": false | ||
} |
92 changes: 92 additions & 0 deletions
92
api-specs/api/examples/product-tailoring-list.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,92 @@ | ||
{ | ||
"limit": 20, | ||
"offset": 0, | ||
"count": 2, | ||
"results": [ | ||
{ | ||
"id": "207ee692-6002-4570-a78c-d15e7adbebbb", | ||
"version": 2, | ||
"versionModifiedAt": "2023-09-01T13:41:50.662Z", | ||
"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": [], | ||
"searchKeywords": {} | ||
}, | ||
"staged": { | ||
"name": { | ||
"en": "tailored name" | ||
}, | ||
"description": { | ||
"en": "tailored description" | ||
}, | ||
"slug": { | ||
"en": "tailored-slug" | ||
}, | ||
"variants": [], | ||
"searchKeywords": {} | ||
}, | ||
"published": false, | ||
"hasStagedChanges": true | ||
}, | ||
|
||
{ | ||
"id": "207ee692-6002-4570-a78c-d15e7adbecc", | ||
"version": 2, | ||
"versionModifiedAt": "2023-09-01T13:42:50.662Z", | ||
"createdAt": "2023-09-01T13:27:10.475Z", | ||
"lastModifiedAt": "2023-09-01T14: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-two" | ||
}, | ||
"current": { | ||
"variants": [], | ||
"searchKeywords": {} | ||
}, | ||
"staged": { | ||
"name": { | ||
"en": "Second store tailored name" | ||
}, | ||
"description": { | ||
"en": "This is a tailored description" | ||
}, | ||
"slug": { | ||
"en": "tailored-slug-two" | ||
}, | ||
"variants": [], | ||
"searchKeywords": {} | ||
}, | ||
"published": false, | ||
"hasStagedChanges": true | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
api-specs/api/examples/product-tailoring-update.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,10 @@ | ||
{ | ||
"version": 1, | ||
"actions": [ | ||
{ | ||
"action": "setDescription", | ||
"description": { "en": "A description" }, | ||
"staged": true | ||
} | ||
] | ||
} |
42 changes: 42 additions & 0 deletions
42
api-specs/api/examples/product-tailoring-updated.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,42 @@ | ||
{ | ||
"id": "207ee692-6002-4570-a78c-d15e7adbebbb", | ||
"version": 2, | ||
"versionModifiedAt": "2023-09-01T13:41:50.662Z", | ||
"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": [], | ||
"searchKeywords": {} | ||
}, | ||
"staged": { | ||
"name": { | ||
"en": "tailored name" | ||
}, | ||
"description": { | ||
"en": "A description" | ||
}, | ||
"slug": { | ||
"en": "tailored-slug" | ||
}, | ||
"variants": [], | ||
"searchKeywords": {} | ||
}, | ||
"published": false, | ||
"hasStagedChanges": true | ||
} |
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,42 @@ | ||
{ | ||
"id": "207ee692-6002-4570-a78c-d15e7adbebbb", | ||
"version": 2, | ||
"versionModifiedAt": "2023-09-01T13:41:50.662Z", | ||
"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": [], | ||
"searchKeywords": {} | ||
}, | ||
"staged": { | ||
"name": { | ||
"en": "tailored name" | ||
}, | ||
"description": { | ||
"en": "tailored description" | ||
}, | ||
"slug": { | ||
"en": "tailored-slug" | ||
}, | ||
"variants": [], | ||
"searchKeywords": {} | ||
}, | ||
"published": false, | ||
"hasStagedChanges": true | ||
} |
Oops, something went wrong.