Skip to content

Commit bf2077e

Browse files
committed
Updated API from documentation release
1 parent 59cea7a commit bf2077e

File tree

49 files changed

+318
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+318
-148
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
3+
"version": 1,
4+
"createdAt": "2025-10-25T14:30:45.123Z",
5+
"lastModifiedAt": "2025-10-25T14:30:45.123Z",
6+
"key": "distribution-channel-us",
7+
"roles": [
8+
"ProductDistribution",
9+
"InventorySupply"
10+
],
11+
"name": {
12+
"en-US": "US Distribution Channel",
13+
"de-DE": "US-Vertriebskanal",
14+
"fr-FR": "Canal de distribution américain",
15+
"es-ES": "Canal de distribución de EE. UU."
16+
},
17+
"description": {
18+
"en-US": "Primary distribution channel for United States market",
19+
"de-DE": "Primärer Vertriebskanal für den US-Markt",
20+
"fr-FR": "Canal de distribution principal pour le marché américain",
21+
"es-ES": "Canal de distribución principal para el mercado estadounidense"
22+
},
23+
"address": {
24+
"id": "address-1",
25+
"key": "us-warehouse-address",
26+
"country": "US",
27+
"firstName": "John",
28+
"lastName": "Smith",
29+
"streetName": "Commerce Street",
30+
"streetNumber": "123",
31+
"postalCode": "94105",
32+
"city": "San Francisco",
33+
"state": "California",
34+
"phone": "+14155551234",
35+
"email": "warehouse@example.com"
36+
},
37+
"geoLocation": {
38+
"type": "Point",
39+
"coordinates": [
40+
-122.4194,
41+
37.7749
42+
]
43+
}
44+
}

api-specs/api/examples/Channel/ChannelAddRolesAction.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

api-specs/api/examples/Channel/ChannelChangeDescriptionAction.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

api-specs/api/examples/Channel/ChannelChangeKeyAction.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

api-specs/api/examples/Channel/ChannelChangeNameAction.json

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"key": "distribution-channel-us",
3+
"roles": [
4+
"ProductDistribution",
5+
"InventorySupply"
6+
],
7+
"name": {
8+
"en-US": "US Distribution Channel",
9+
"de-DE": "US-Vertriebskanal",
10+
"fr-FR": "Canal de distribution américain",
11+
"es-ES": "Canal de distribución de EE. UU."
12+
},
13+
"description": {
14+
"en-US": "Primary distribution channel for United States market",
15+
"de-DE": "Primärer Vertriebskanal für den US-Markt",
16+
"fr-FR": "Canal de distribution principal pour le marché américain",
17+
"es-ES": "Canal de distribución principal para el mercado estadounidense"
18+
},
19+
"address": {
20+
"key": "us-warehouse-address",
21+
"country": "US",
22+
"firstName": "John",
23+
"lastName": "Smith",
24+
"streetName": "Commerce Street",
25+
"streetNumber": "123",
26+
"postalCode": "94105",
27+
"city": "San Francisco",
28+
"state": "California",
29+
"phone": "+14155551234",
30+
"email": "warehouse@example.com"
31+
},
32+
"geoLocation": {
33+
"type": "Point",
34+
"coordinates": [
35+
-122.4194,
36+
37.7749
37+
]
38+
}
39+
}
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"limit": 20,
3+
"offset": 0,
4+
"count": 2,
5+
"total": 2,
6+
"results": [
7+
{
8+
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
9+
"version": 1,
10+
"createdAt": "2025-10-25T14:30:45.123Z",
11+
"lastModifiedAt": "2025-10-25T14:30:45.123Z",
12+
"key": "distribution-channel-us",
13+
"roles": [
14+
"ProductDistribution",
15+
"InventorySupply"
16+
],
17+
"name": {
18+
"en-US": "US Distribution Channel",
19+
"de-DE": "US-Vertriebskanal",
20+
"fr-FR": "Canal de distribution américain",
21+
"es-ES": "Canal de distribución de EE. UU."
22+
},
23+
"description": {
24+
"en-US": "Primary distribution channel for United States market",
25+
"de-DE": "Primärer Vertriebskanal für den US-Markt",
26+
"fr-FR": "Canal de distribution principal pour le marché américain",
27+
"es-ES": "Canal de distribución principal para el mercado estadounidense"
28+
},
29+
"address": {
30+
"id": "address-1",
31+
"key": "us-warehouse-address",
32+
"country": "US",
33+
"firstName": "John",
34+
"lastName": "Smith",
35+
"streetName": "Commerce Street",
36+
"streetNumber": "123",
37+
"postalCode": "94105",
38+
"city": "San Francisco",
39+
"state": "California",
40+
"phone": "+14155551234",
41+
"email": "warehouse@example.com"
42+
},
43+
"geoLocation": {
44+
"type": "Point",
45+
"coordinates": [
46+
-122.4194,
47+
37.7749
48+
]
49+
}
50+
},
51+
{
52+
"id": "8c7e0b2a-45f3-4d8e-9a1b-c2f4e6d8a9b0",
53+
"version": 2,
54+
"createdAt": "2025-10-20T09:15:30.456Z",
55+
"lastModifiedAt": "2025-10-28T11:20:45.789Z",
56+
"key": "distribution-channel-eu",
57+
"roles": [
58+
"ProductDistribution"
59+
],
60+
"name": {
61+
"en-US": "EU Distribution Channel",
62+
"de-DE": "EU-Vertriebskanal",
63+
"fr-FR": "Canal de distribution européen",
64+
"es-ES": "Canal de distribución de la UE"
65+
},
66+
"description": {
67+
"en-US": "Main distribution channel for European market",
68+
"de-DE": "Hauptvertriebskanal für den europäischen Markt",
69+
"fr-FR": "Canal de distribution principal pour le marché européen",
70+
"es-ES": "Canal de distribución principal para el mercado europeo"
71+
},
72+
"address": {
73+
"id": "address-2",
74+
"key": "eu-warehouse-address",
75+
"country": "DE",
76+
"firstName": "Anna",
77+
"lastName": "Müller",
78+
"streetName": "Hauptstraße",
79+
"streetNumber": "45",
80+
"postalCode": "10115",
81+
"city": "Berlin",
82+
"phone": "+493012345678",
83+
"email": "warehouse-eu@example.com"
84+
}
85+
}
86+
]
87+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"typeId": "channel",
3+
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"typeId": "channel",
3+
"key": "distribution-channel-us"
4+
}

api-specs/api/examples/Channel/ChannelSetAddressAction.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)