Skip to content

Commit

Permalink
TASK: Updating Postman collection
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Nov 7, 2024
1 parent ff396e8 commit 85c963f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/collection.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions import/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": []
Expand Down Expand Up @@ -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": []
Expand Down Expand Up @@ -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": []
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ c8c2455221baca20421082b7715eaa0a712af7f1
41774e015e4f946bd57f0e2dc76522ed757860c4
1406d1e9ac4945b1179cfce2a956a39f67b757a9
6bb8d35316a92441d0a59417b49ad3a8c7037e45
07b822efee634159a97f9ba24f86114b984d8d4c

0 comments on commit 85c963f

Please sign in to comment.