Skip to content

Commit d3b533e

Browse files
committed
Updated API from documentation release
1 parent b4ae109 commit d3b533e

File tree

135 files changed

+2949
-293
lines changed

Some content is hidden

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

135 files changed

+2949
-293
lines changed

api-specs/api/api.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ resourceTypes:
257257
/quotes: !include resources/quotes.raml
258258
/quote-requests: !include resources/quote-requests.raml
259259
/staged-quotes: !include resources/staged-quotes.raml
260+
/recurring-orders: !include resources/recurring-orders.raml
261+
/recurrence-policies: !include resources/recurrence-policies.raml
260262
/reviews: !include resources/reviews.raml
261263
/shipping-methods: !include resources/shipping-methods.raml
262264
/shopping-lists: !include resources/shopping-lists.raml
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"action": "setCustomLineItemRecurrenceInfo",
3+
"customLineItemId": "{{customLineItemId}}",
4+
"recurrenceInfo": {
5+
"recurrencePolicy": {
6+
"id": "{{recurrence-policy-id}}",
7+
"typeId": "recurrence-policy"
8+
}
9+
}
10+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"action": "setLineItemRecurrenceInfo",
3+
"lineItemId": "{{lineItemId}}",
4+
"recurrenceInfo": {
5+
"recurrencePolicy": {
6+
"id": "{{recurrence-policy-id}}",
7+
"typeId": "recurrence-policy"
8+
},
9+
"priceSelectionMode": "Fixed"
10+
}
11+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"action": "setDescription",
3+
"description": {
4+
"en": "New description"
5+
}
6+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"action": "setKey",
3+
"key": "new-key"
4+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"action": "setName",
3+
"name": {
4+
"en": "New name",
5+
"de": "Neuer Name"
6+
}
7+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"action": "setSchedule",
3+
"schedule": {
4+
"type": "standard",
5+
"value": 1,
6+
"intervalUnit": "Days"
7+
}
8+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"action": "setCustomField",
3+
"name": "ExampleStringTypeField",
4+
"value": "TextString"
5+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"action": "setCustomType",
3+
"type": {
4+
"id": "{{type-id}}",
5+
"typeId": "type"
6+
},
7+
"fields": {
8+
"exampleStringField": "TextString"
9+
}
10+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"action": "setKey",
3+
"key": "new-key"
4+
}

0 commit comments

Comments
 (0)