-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff396e8
commit 85c963f
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -984,7 +984,7 @@ | |
"description": "Creates a request for creating new Categories or updating existing ones.", | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"type\" : \"category\",\n \"resources\" : [ {\n \"key\" : \"greatTestCat\",\n \"name\" : {\n \"en\" : \"greatTestCat\"\n },\n \"slug\" : {\n \"en\" : \"great-slug\"\n },\n \"description\" : {\n \"de\" : \"Beschreibung der Kategorie\",\n \"en\" : \"category's description\"\n },\n \"parent\" : {\n \"typeId\" : \"category\",\n \"key\" : \"category-key\"\n },\n \"orderHint\" : \"category's order hint\",\n \"externalId\" : \"external-id\",\n \"metaTitle\" : {\n \"de\" : \"der Metatitel der Katze\",\n \"en\" : \"the cat's meta title\"\n },\n \"metaDescription\" : {\n \"de\" : \"die Meta-Beschreibung der Katze\",\n \"en\" : \"the cat's meta description\"\n },\n \"metaKeywords\" : {\n \"de\" : \"die Schl\u00FCsselw\u00F6rter der Katze\",\n \"en\" : \"the cat's key words\"\n },\n \"assets\" : [ {\n \"key\" : \"asset-key\",\n \"sources\" : [ {\n \"uri\" : \"https:\/\/google.com\",\n \"key\" : \"asset-source-key\",\n \"dimensions\" : {\n \"w\" : 12,\n \"h\" : 10\n },\n \"contentType\" : \"dummy content type\"\n } ],\n \"name\" : {\n \"de\" : \"Asset-Name\",\n \"en\" : \"asset name\"\n },\n \"description\" : {\n \"de\" : \"Asset-Beschreibung\",\n \"en\" : \"asset description\"\n },\n \"tags\" : [ \"tag 1\" ],\n \"custom\" : {\n \"type\" : {\n \"key\" : \"custom-type\",\n \"typeId\" : \"type\"\n },\n \"fields\" : {\n \"boolean-field\" : {\n \"type\" : \"Boolean\",\n \"value\" : false\n }\n }\n }\n } ],\n \"custom\" : {\n \"type\" : {\n \"typeId\" : \"type\",\n \"key\" : \"custom-type\"\n },\n \"fields\" : {\n \"boolean-field\" : {\n \"type\" : \"Boolean\",\n \"value\" : true\n },\n \"string-field\" : {\n \"type\" : \"String\",\n \"value\" : \"a string\"\n }\n }\n }\n } ]\n}" | ||
"raw": "{\n \"type\" : \"category\",\n \"resources\" : [ {\n \"key\" : \"greatTestCat\",\n \"name\" : {\n \"en\" : \"greatTestCat\"\n },\n \"slug\" : {\n \"en\" : \"great-slug\"\n },\n \"description\" : {\n \"de\" : \"Beschreibung der Kategorie\",\n \"en\" : \"category's description\"\n },\n \"parent\" : {\n \"typeId\" : \"category\",\n \"key\" : \"category-key\"\n },\n \"orderHint\" : \"category's order hint\",\n \"externalId\" : \"external-id\",\n \"metaTitle\" : {\n \"de\" : \"der Metatitel der Katze\",\n \"en\" : \"the cat's meta title\"\n },\n \"metaDescription\" : {\n \"de\" : \"die Meta-Beschreibung der Katze\",\n \"en\" : \"the cat's meta description\"\n },\n \"metaKeywords\" : {\n \"de\" : \"die Schl\u00FCsselw\u00F6rter der Katze\",\n \"en\" : \"the cat's key words\"\n },\n \"assets\" : [ {\n \"key\" : \"asset-key\",\n \"sources\" : [ {\n \"uri\" : \"https:\/\/google.com\",\n \"key\" : \"asset-source-key\",\n \"dimensions\" : {\n \"w\" : 12,\n \"h\" : 10\n },\n \"contentType\" : \"dummy content type\"\n } ],\n \"name\" : {\n \"de\" : \"Asset-Name\",\n \"en\" : \"asset name\"\n },\n \"description\" : {\n \"de\" : \"Asset-Beschreibung\",\n \"en\" : \"asset description\"\n },\n \"tags\" : [ \"tag 1\" ],\n \"custom\" : {\n \"type\" : {\n \"key\" : \"custom-type\",\n \"typeId\" : \"type\"\n },\n \"fields\" : {\n \"exampleBooleanField\" : {\n \"type\" : \"Boolean\",\n \"value\" : false\n }\n }\n }\n } ],\n \"custom\" : {\n \"type\" : {\n \"typeId\" : \"type\",\n \"key\" : \"custom-type\"\n },\n \"fields\" : {\n \"exampleBooleanField\" : {\n \"type\" : \"Boolean\",\n \"value\" : true\n },\n \"exampleStringField\" : {\n \"type\" : \"String\",\n \"value\" : \"a string\"\n }\n }\n }\n } ]\n}" | ||
} | ||
}, | ||
"response": [] | ||
|
@@ -1804,7 +1804,7 @@ | |
"description": "Creates a request for creating new Customers or updating existing ones.", | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"type\" : \"customer\",\n \"resources\" : [ {\n \"customerNumber\" : \"12345\",\n \"email\" : \"[email protected]\",\n \"password\" : \"secret\",\n \"firstName\" : \"Alice\",\n \"lastName\" : \"Doe\",\n \"middleName\" : \"Ruth\",\n \"title\" : \"Ms.\",\n \"dateOfBirth\" : \"1980-01-01\",\n \"companyName\" : \"commercetools GmbH\",\n \"vatId\" : \"123456789\",\n \"addresses\" : [ {\n \"key\" : \"wCVKP6iU\",\n \"firstName\" : \"Alice\",\n \"country\" : \"DE\"\n }, {\n \"key\" : \"en-wcvK6\",\n \"firstName\" : \"Alice\",\n \"country\" : \"US\"\n } ],\n \"defaultShippingAddress\" : 0,\n \"shippingAddresses\" : [ 0, 1 ],\n \"defaultBillingAddress\" : 0,\n \"billingAddresses\" : [ 0, 1 ],\n \"isEmailVerified\" : false,\n \"externalId\" : \"external-id-123\",\n \"customerGroup\" : {\n \"typeId\" : \"customer-group\",\n \"key\" : \"customer-group-key\"\n },\n \"custom\" : {\n \"type\" : {\n \"key\" : \"custom-type\",\n \"typeId\" : \"type\"\n },\n \"fields\" : {\n \"boolean-field\" : {\n \"type\" : \"Boolean\",\n \"value\" : true\n }\n }\n },\n \"locale\" : \"DE\",\n \"salutation\" : \"Dr.\",\n \"key\" : \"customer-import-resource-key\",\n \"stores\" : [ {\n \"typeId\" : \"store\",\n \"key\" : \"store-key\"\n } ],\n \"authenticationMode\" : \"Password\"\n } ]\n}" | ||
"raw": "{\n \"type\" : \"customer\",\n \"resources\" : [ {\n \"customerNumber\" : \"12345\",\n \"email\" : \"[email protected]\",\n \"password\" : \"secret\",\n \"firstName\" : \"Alice\",\n \"lastName\" : \"Doe\",\n \"middleName\" : \"Ruth\",\n \"title\" : \"Ms.\",\n \"dateOfBirth\" : \"1980-01-01\",\n \"companyName\" : \"commercetools GmbH\",\n \"vatId\" : \"123456789\",\n \"addresses\" : [ {\n \"key\" : \"wCVKP6iU\",\n \"firstName\" : \"Alice\",\n \"country\" : \"DE\"\n }, {\n \"key\" : \"en-wcvK6\",\n \"firstName\" : \"Alice\",\n \"country\" : \"US\"\n } ],\n \"defaultShippingAddress\" : 0,\n \"shippingAddresses\" : [ 0, 1 ],\n \"defaultBillingAddress\" : 0,\n \"billingAddresses\" : [ 0, 1 ],\n \"isEmailVerified\" : false,\n \"externalId\" : \"external-id-123\",\n \"customerGroup\" : {\n \"typeId\" : \"customer-group\",\n \"key\" : \"customer-group-key\"\n },\n \"custom\" : {\n \"type\" : {\n \"key\" : \"custom-type\",\n \"typeId\" : \"type\"\n },\n \"fields\" : {\n \"exampleBooleanField\" : {\n \"type\" : \"Boolean\",\n \"value\" : true\n }\n }\n },\n \"locale\" : \"DE\",\n \"salutation\" : \"Dr.\",\n \"key\" : \"customer-import-resource-key\",\n \"stores\" : [ {\n \"typeId\" : \"store\",\n \"key\" : \"store-key\"\n } ],\n \"authenticationMode\" : \"Password\"\n } ]\n}" | ||
} | ||
}, | ||
"response": [] | ||
|
@@ -1968,7 +1968,7 @@ | |
"description": "Creates a request for creating new Type or updating existing ones.", | ||
"body": { | ||
"mode": "raw", | ||
"raw": "{\n \"type\" : \"type\",\n \"resources\" : [ {\n \"key\" : \"type-key\",\n \"name\" : {\n \"en\" : \"Name of type\"\n },\n \"description\" : {\n \"en\" : \"Description of type\"\n },\n \"resourceTypeIds\" : [ \"customer\" ],\n \"fieldDefinitions\" : [ {\n \"type\" : {\n \"name\" : \"String\"\n },\n \"name\" : \"string-type-name\",\n \"label\" : {\n \"en\" : \"A label for the string field.\"\n },\n \"required\" : false,\n \"inputHint\" : \"SingleLine\"\n } ]\n } ]\n}" | ||
"raw": "{\n \"type\" : \"type\",\n \"resources\" : [ {\n \"key\" : \"type-key\",\n \"name\" : {\n \"en\" : \"Name of type\"\n },\n \"description\" : {\n \"en\" : \"Description of type\"\n },\n \"resourceTypeIds\" : [ \"customer\" ],\n \"fieldDefinitions\" : [ {\n \"type\" : {\n \"name\" : \"String\"\n },\n \"name\" : \"exampleStringField\",\n \"label\" : {\n \"en\" : \"Example string field.\"\n },\n \"required\" : false,\n \"inputHint\" : \"SingleLine\"\n } ]\n } ]\n}" | ||
} | ||
}, | ||
"response": [] | ||
|
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