Skip to content

Instantly share code, notes, and snippets.

@cpjeanpaul
Created May 7, 2018 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpjeanpaul/d2f477dd35b9248c31f3de0099ba6641 to your computer and use it in GitHub Desktop.
Save cpjeanpaul/d2f477dd35b9248c31f3de0099ba6641 to your computer and use it in GitHub Desktop.
{
"info": {
"_postman_id": "dcd1417c-20c8-3e2b-ca1e-befebd355f4b",
"name": "Magento Mifarma v1.1",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Login de cliente",
"event": [
{
"listen": "test",
"script": {
"id": "121d7ada-38e0-445e-9284-0ac83515bdc7",
"type": "text/javascript",
"exec": [
"var data = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"customer_token\", data);"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/integration/customer/token",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"integration",
"customer",
"token"
]
},
"description": " "
},
"response": []
},
{
"name": "Registro de cliente",
"event": [
{
"listen": "test",
"script": {
"id": "121d7ada-38e0-445e-9284-0ac83515bdc7",
"type": "text/javascript",
"exec": [
"var data = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"customer_token\", data);"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"customer\": {\n \"group_id\": 1,\n \"email\": \"jeanp.21@hotmail.com\",\n \"firstname\": \"Jean\",\n \"lastname\": \"Cahauana\",\n \"middlename\": \"Pinto\",\n \"prefix\": \"Xr\",\n \"store_id\": 1,\n \"custom_attributes\": [\n {\n \"attribute_code\": \"dni\",\n \"value\": \"12345678\"\n },\n {\n \"attribute_code\": \"celular\",\n \"value\": \"940494094\"\n }\n ]\n },\n \"password\": \"Jx2j1m2ijasedk102\",\n \"redirectUrl\": \"/\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/customers/",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"customers",
""
]
},
"description": " "
},
"response": []
},
{
"name": "ConfigData Tienda",
"event": [
{
"listen": "test",
"script": {
"id": "6f56e77d-334c-4752-a2a6-27415af38d94",
"type": "text/javascript",
"exec": [
"var data = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"customer_token\", data.message);"
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/store/storeConfigs",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"store",
"storeConfigs"
]
},
"description": " "
},
"response": []
},
{
"name": "Categorías: Lista de categorías",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/categories?rootCategoryId=1",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"categories"
],
"query": [
{
"key": "rootCategoryId",
"value": "1"
}
]
},
"description": "Devuelve una listas completa de categorías."
},
"response": []
},
{
"name": "Categorías: Detalle de categoría",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/categories/80",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"categories",
"80"
]
},
"description": "Devuelve detalle de categoría. Ej. img, url, visible..."
},
"response": []
},
{
"name": "Categorías: Productos x Categoría",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/categories/80/products",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"categories",
"80",
"products"
]
},
"description": "Responde una lista reducida de productos en determinada categoría"
},
"response": []
},
{
"name": "Productos: Buscar",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=name&searchCriteria[filter_groups][0][filters][0][value]=%ninet%&searchCriteria[filter_groups][0][filters][0][condition_type]=like&searchCriteria[pageSize]=10& searchCriteria[currentPage]=1",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"products"
],
"query": [
{
"key": "searchCriteria[filter_groups][0][filters][0][field]",
"value": "name"
},
{
"key": "searchCriteria[filter_groups][0][filters][0][value]",
"value": "%ninet%"
},
{
"key": "searchCriteria[filter_groups][0][filters][0][condition_type]",
"value": "like"
},
{
"key": "searchCriteria[pageSize]",
"value": "10"
},
{
"key": " searchCriteria[currentPage]",
"value": "1"
}
]
},
"description": "Busqueda con todos los filtros."
},
"response": []
},
{
"name": "Productos: Buscar por nombre",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=name&searchCriteria[filter_groups][0][filters][0][value]=%aspirina%&searchCriteria[filter_groups][0][filters][0][condition_type]=like&searchCriteria[pageSize]=10&searchCriteria[currentPage]=1",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"products"
],
"query": [
{
"key": "searchCriteria[filter_groups][0][filters][0][field]",
"value": "name"
},
{
"key": "searchCriteria[filter_groups][0][filters][0][value]",
"value": "%aspirina%"
},
{
"key": "searchCriteria[filter_groups][0][filters][0][condition_type]",
"value": "like"
},
{
"key": "searchCriteria[pageSize]",
"value": "10"
},
{
"key": "searchCriteria[currentPage]",
"value": "1"
}
]
},
"description": "Busqueda con todos los filtros."
},
"response": []
},
{
"name": "Productos: Buscar en categoría x nombre",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=name&searchCriteria[filter_groups][0][filters][0][value]=%aspirina%&searchCriteria[filter_groups][0][filters][0][condition_type]=like&searchCriteria[filter_groups][0][filters][1][field]=category_id&searchCriteria[filter_groups][0][filters][1][value]=80&searchCriteria[filter_groups][0][filters][1][condition_type]=eq&searchCriteria[pageSize]=10&searchCriteria[currentPage]=1",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"products"
],
"query": [
{
"key": "searchCriteria[filter_groups][0][filters][0][field]",
"value": "name"
},
{
"key": "searchCriteria[filter_groups][0][filters][0][value]",
"value": "%aspirina%"
},
{
"key": "searchCriteria[filter_groups][0][filters][0][condition_type]",
"value": "like"
},
{
"key": "searchCriteria[filter_groups][0][filters][1][field]",
"value": "category_id"
},
{
"key": "searchCriteria[filter_groups][0][filters][1][value]",
"value": "80"
},
{
"key": "searchCriteria[filter_groups][0][filters][1][condition_type]",
"value": "eq"
},
{
"key": "searchCriteria[pageSize]",
"value": "10"
},
{
"key": "searchCriteria[currentPage]",
"value": "1"
}
]
},
"description": "Busqueda con todos los filtros."
},
"response": []
},
{
"name": "Productos: Atributos de productos",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/products/attribute-sets/4/attributes",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"products",
"attribute-sets",
"4",
"attributes"
]
},
"description": "Devuelve una listas completa de categorías."
},
"response": []
},
{
"name": "Productos: Opctiones de atributo",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/products/attributes/83/options",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"products",
"attributes",
"83",
"options"
]
},
"description": "Responde una lista con las opciones que posee cada atributo. Ej. El atributo 83 (manufacturer/marca) devuelve una lista con todas las marcas disponibles."
},
"response": []
},
{
"name": "Cliente: Info de la cuenta",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/customers/me",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"customers",
"me"
]
}
},
"response": []
},
{
"name": "Productos: Detalles de producto",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/products/P001.2018.5",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"products",
"P001.2018.5"
]
},
"description": "Responde una lista reducida de productos en determinada categoría"
},
"response": []
},
{
"name": "Cliente: Direcciones de facturacion",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/customers/me/billingAddress",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"customers",
"me",
"billingAddress"
]
}
},
"response": []
},
{
"name": "Cliente: Direcciones de envio",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"username\": \"roni_cost@example.com\",\n \"password\": \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/customers/me/shippingAddress",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"customers",
"me",
"shippingAddress"
]
}
},
"response": []
},
{
"name": "Cliente: Cambiar contraseña",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"currentPassword\": \"oldpass\",\n \"newPassword\": \"newpass\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/customers/me/password",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"customers",
"me",
"password"
]
}
},
"response": []
},
{
"name": "Cliente: Actualizar cuenta",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"customer\": {\n \"email\": \"roni_cost@example.com\",\n \"firstname\": \"Roni\",\n \"lastname\": \"Cost\",\n \"middlename\": \"Middle\",\n \"storeId\": \"1\",\n \"websiteId\": \"1\",\n \"custom_attributes\": [\n {\n \"attribute_code\": \"dni\",\n \"value\": \"12345678\"\n }\n ]\n },\n \"password\" : \"roni_cost3@example.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/customers/me",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"customers",
"me"
]
}
},
"response": []
},
{
"name": "Cliente: Solicitar email de restablecimiento de contraseña",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\"email\": \"roni_cost@example.com\",\n\"template\": \"email_reset\",\n\"websiteId\": 1\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/customers/password",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"customers",
"password"
]
}
},
"response": [
{
"id": "52c2a89c-e6a0-4724-9ce2-e52bfb269c9c",
"name": "PUT Cliente: Solicitar email de restablecimiento de contraseña",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"cpjeanpaul@gmail.com\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/customers/password",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"customers",
"password"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"name": "Access-Control-Allow-Origin",
"description": "Specifies a URI that may access the resource. For requests without credentials, the server may specify '*' as a wildcard, thereby allowing any origin to access the resource."
},
{
"key": "Cache-Control",
"value": "no-store, no-cache, must-revalidate",
"name": "Cache-Control",
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"
},
{
"key": "Connection",
"value": "keep-alive",
"name": "Connection",
"description": "Options that are desired for the connection"
},
{
"key": "Content-Type",
"value": "application/json; charset=utf-8",
"name": "Content-Type",
"description": "The mime type of this content"
},
{
"key": "Date",
"value": "Mon, 23 Apr 2018 21:10:15 GMT",
"name": "Date",
"description": "The date and time that the message was sent"
},
{
"key": "Expires",
"value": "Thu, 19 Nov 1981 08:52:00 GMT",
"name": "Expires",
"description": "Gives the date/time after which the response is considered stale"
},
{
"key": "Pragma",
"value": "no-cache",
"name": "Pragma",
"description": "Implementation-specific headers that may have various effects anywhere along the request-response chain."
},
{
"key": "Server",
"value": "nginx/1.10.3 (Ubuntu)",
"name": "Server",
"description": "A name for the server"
},
{
"key": "Transfer-Encoding",
"value": "chunked",
"name": "Transfer-Encoding",
"description": "The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."
}
],
"cookie": [
{
"expires": "Mon Apr 23 2018 17:03:18 GMT-0500 (-05)",
"httpOnly": true,
"domain": "www.devmf.com",
"path": "/",
"secure": false,
"value": "sp2lj75gk1mnob70k25dj22vq7",
"key": "PHPSESSID"
}
],
"body": "{\"message\":\"%fieldName es un campo obligatorio.\",\"parameters\":{\"fieldName\":\"template\"},\"trace\":\"#0 \\/var\\/www\\/html\\/magento\\/vendor\\/magento\\/framework\\/Webapi\\/ServiceInputProcessor.php(131): Magento\\\\Framework\\\\Webapi\\\\ServiceInputProcessor->processInputError(Array)\\n#1 \\/var\\/www\\/html\\/magento\\/vendor\\/magento\\/module-webapi\\/Controller\\/Rest\\/InputParamsResolver.php(101): Magento\\\\Framework\\\\Webapi\\\\ServiceInputProcessor->process('Magento\\\\\\\\Custome...', 'initiatePasswor...', Array)\\n#2 \\/var\\/www\\/html\\/magento\\/vendor\\/magento\\/module-webapi\\/Controller\\/Rest.php(299): Magento\\\\Webapi\\\\Controller\\\\Rest\\\\InputParamsResolver->resolve()\\n#3 \\/var\\/www\\/html\\/magento\\/vendor\\/magento\\/module-webapi\\/Controller\\/Rest.php(216): Magento\\\\Webapi\\\\Controller\\\\Rest->processApiRequest()\\n#4 \\/var\\/www\\/html\\/magento\\/vendor\\/magento\\/framework\\/Interception\\/Interceptor.php(146): Magento\\\\Webapi\\\\Controller\\\\Rest->dispatch(Object(Magento\\\\Framework\\\\App\\\\Request\\\\Http))\\n#5 \\/var\\/www\\/html\\/magento\\/var\\/generation\\/Magento\\/Webapi\\/Controller\\/Rest\\/Interceptor.php(39): Magento\\\\Webapi\\\\Controller\\\\Rest\\\\Interceptor->___callPlugins('dispatch', Array, Array)\\n#6 \\/var\\/www\\/html\\/magento\\/vendor\\/magento\\/framework\\/App\\/Http.php(135): Magento\\\\Webapi\\\\Controller\\\\Rest\\\\Interceptor->dispatch(Object(Magento\\\\Framework\\\\App\\\\Request\\\\Http))\\n#7 \\/var\\/www\\/html\\/magento\\/vendor\\/magento\\/framework\\/App\\/Bootstrap.php(258): Magento\\\\Framework\\\\App\\\\Http->launch()\\n#8 \\/var\\/www\\/html\\/magento\\/pub\\/index.php(37): Magento\\\\Framework\\\\App\\\\Bootstrap->run(Object(Magento\\\\Framework\\\\App\\\\Http))\\n#9 {main}\"}"
}
]
},
{
"name": "Cliente: Obtener wishlist",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"currentPassword\": \"oldpass\",\n \"newPassword\": \"newpass\"\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/customers/me/password",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"customers",
"me",
"password"
]
}
},
"response": []
},
{
"name": "Carrito Cliente: Crear carrito",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine"
]
},
"description": "Devuelve el ID de carrito (nuevo o existente) asociado al cliente."
},
"response": []
},
{
"name": "Carrito Cliente: Obtener lista detallada del carrito",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"cartItem\": {\n \n \"sku\": \"1513820173-341\",\n \"qty\": 4,\n \"quote_id\": \"4\"\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine"
]
},
"description": " "
},
"response": []
},
{
"name": "Carrito Cliente: Agregar producto al carrito",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"cart_item\": {\n \"quote_id\": \"67\",\n \"sku\": \"1513820173-341\",\n \"qty\": 10\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/items",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"items"
]
},
"description": " "
},
"response": []
},
{
"name": "Carrito Cliente: Actualizar producto",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"cartItem\": {\n \n \"sku\": \"1513820173-341\",\n \"qty\": 4,\n \"quote_id\": \"4\"\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/items/263",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"items",
"263"
]
}
},
"response": []
},
{
"name": "Carrito Cliente: Actualizar cantidad de productos",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"cartItem\": {\n \"qty\": 100,\n \"quote_id\": \"67\"\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/items/263",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"items",
"263"
]
}
},
"response": []
},
{
"name": "Carrito Cliente: Eliminar producto",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"cartItem\": {\n \"quote_id\": \"67\"\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/items/263",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"items",
"263"
]
}
},
"response": []
},
{
"name": "Carrito Cliente: Información de pago",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"cartItem\": {\n \"quote_id\": \"67\"\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/payment-information",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"payment-information"
]
}
},
"response": []
},
{
"name": "Facturacion: Nueva dirección de facturación",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"address\": {\n \"region\": \"xXadqwd\",\n \"region_code\": \"Xe3ea\",\n \"country_id\": \"PE\",\n \"street\": [\n \"Av. Las asdadasd 123\"\n ],\n \"telephone\": \"757527158\",\n \"postcode\": \"10771\",\n \"city\": \"Lema\",\n \"firstname\": \"Juan Caros\",\n \"lastname\": \"Lopez Lima\",\n \"customer_id\": 1,\n \"email\": \"roni_cost@example.com\",\n \"same_as_billing\": 0,\n \"customer_address_id\": 5,\n \"save_in_address_book\": 0\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/billing-address",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"billing-address"
]
},
"description": "Devuelve ID de direccion"
},
"response": []
},
{
"name": "Checkout: Costos estimados de envio",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\"addressId\":\"1\"}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/estimate-shipping-methods-by-address-id",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"estimate-shipping-methods-by-address-id"
]
}
},
"response": []
},
{
"name": "Checkout: Listado de direcciones de facturación",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"cartItem\": {\n \"quote_id\": \"67\"\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/billing-address",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"billing-address"
]
},
"description": "xx\n"
},
"response": []
},
{
"name": "Checkout: Listado de direcciones de envio",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"cartItem\": {\n \"quote_id\": \"67\"\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/billing-address",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"billing-address"
]
}
},
"response": []
},
{
"name": "Checkout: Métodos de envío disponibles",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"cartItem\": {\n \"quote_id\": \"67\"\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/shipping-methods",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"shipping-methods"
]
},
"description": "Listas los métodos de envio. "
},
"response": []
},
{
"name": "Checkout: Mis métodos de pagos disponibles",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/payment-methods",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"payment-methods"
]
}
},
"response": []
},
{
"name": "Checkout: Procesar orden (Nuevo método de pago)",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{ \n \"cartId\":\"205\",\n \"billingAddress\":{ \n \"customerAddressId\":\"1\",\n \"countryId\":\"US\",\n \"regionId\":\"33\",\n \"regionCode\":\"MI\",\n \"region\":\"Michigan\",\n \"customerId\":\"1\",\n \"street\":[ \n \"6146 Honey Bluff Parkway\"\n ],\n \"telephone\":\"(555) 229-3326\",\n \"postcode\":\"49628-7978\",\n \"city\":\"Calder\",\n \"firstname\":\"Veronica\",\n \"lastname\":\"Costello\",\n \"saveInAddressBook\":null\n },\n \"paymentMethod\":{ \n \"method\":\"pmclain_stripe\",\n \"additional_data\":{ \n \"cc_cid\":\"\",\n \"cc_ss_start_month\":\"\",\n \"cc_ss_start_year\":\"\",\n \"cc_ss_issue\":\"\",\n \"cc_type\":\"Visa\",\n \"cc_exp_year\":2021,\n \"cc_exp_month\":11,\n \"cc_number\":\"\",\n \"cc_last4\":\"4242\",\n \"cc_token\":\"tok_1CKrRUCV0p9klX5ELWwEB1F1\"\n }\n }\n}\n\n\n\n"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/payment-information",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"payment-information"
]
}
},
"response": []
},
{
"name": "Checkout: Procesar orden (Metodo de pago almacenado)",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{ \n \"cartId\":\"205\",\n \"billingAddress\":{ \n \"customerAddressId\":\"1\",\n \"countryId\":\"US\",\n \"regionId\":\"33\",\n \"regionCode\":\"MI\",\n \"region\":\"Michigan\",\n \"customerId\":\"1\",\n \"street\":[ \n \"6146 Honey Bluff Parkway\"\n ],\n \"telephone\":\"(555) 229-3326\",\n \"postcode\":\"49628-7978\",\n \"city\":\"Calder\",\n \"firstname\":\"Veronica\",\n \"lastname\":\"Costello\",\n \"saveInAddressBook\":null\n },\n \"paymentMethod\":{ \n \"method\":\"pmclain_stripe_vault\",\n \"additional_data\":{ \n \"public_hash\":\"190a6f11c013f18302c18edfe5edd55d7b19e10cda0bfb3705bcdb12a4d7bc5c\"\n }\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/payment-information",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"payment-information"
]
}
},
"response": []
},
{
"name": "Checkout: Agregar nueva direccion de envio",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{ \n \"address\":{ \n \"street\":[ \n \"6146 Honey Bluff Lir\",\n \"123\",\n \"Efer\"\n ],\n \"city\":\"Micy\",\n \"region\":\"Michigan\",\n \"country_id\":\"US\",\n \"postcode\":\"49628-7978\",\n \"customer_id\":\"1\",\n \"firstname\":\"Veronica\",\n \"lastname\":\"Costello\",\n \"telephone\":\"(555) 229-3322\",\n \"save_in_address_book\":1\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/estimate-shipping-methods",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"estimate-shipping-methods"
]
}
},
"response": []
},
{
"name": "Checkout: Calculo de costo de envio a nueva direccion",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{ \n \"address\":{ \n \"street\":[ \n \"6146 Honey Bluff Lir\",\n \"123\",\n \"Efer\"\n ],\n \"city\":\"Micy\",\n \"region\":\"Michigan\",\n \"country_id\":\"US\",\n \"postcode\":\"49628-7978\",\n \"customer_id\":\"1\",\n \"firstname\":\"Veronicza\",\n \"lastname\":\"Costello\",\n \"telephone\":\"(555) 229-3322\",\n \"save_in_address_book\":1\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/estimate-shipping-methods",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"estimate-shipping-methods"
]
}
},
"response": []
},
{
"name": "Checkout: Registro de datos de envio metodo delivery (visitante)",
"event": [
{
"listen": "test",
"script": {
"id": "69037402-cd45-4822-b9d4-cebce2b499e4",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{ \n \"addressInformation\":{ \n \"shipping_address\":{ \n \"countryId\":\"PE\", \n \"street\":[ \n \"Urbanizacion Noriega 321\",\n \"Departamento 201\",\n \"A espaldas del colegio Simon Bolivar\"\n ],\n \"telephone\":\"(555) 229-3322\", \n \"city\":\"Lima\",\n \"firstname\":\"Fernanda\",\n \"lastname\":\"Rojas\" \n },\n \"billing_address\":{ \n \"countryId\":\"PE\", \n \"street\":[ \n \"Urbanizacion Noriega 321\",\n \"Departamento 201\",\n \"A espaldas del colegio Simon Bolivar\"\n ],\n \"telephone\":\"(555) 229-3322\", \n \"city\":\"Arequipa\",\n \"firstname\":\"Fernanda\",\n \"lastname\":\"Rojas\", \n \"saveInAddressBook\":null\n },\n \"shipping_method_code\":\"flatrate\",\n \"shipping_carrier_code\":\"flatrate\",\n \"extension_attributes\":{ \n \"departamento_id\":\"15\",\n \"provincia_id\":\"01\",\n \"distrito_id\":\"01\",\n \"tienda_id\":\"\"\n }\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/shipping-information",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"shipping-information"
]
}
},
"response": []
},
{
"name": "Checkout: Registro de datos de envio metodo recojo en tienda (visitante)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{ \n \"addressInformation\":{ \n \"shipping_address\":{ \n \"countryId\":\"PE\", \n \"street\":[ \n \t\"CAL.SAN JOSE NRO. 401 (LUIS GONZALES NRO 800-810-820) LAMBAYEQUE - CHICLAYO - CHICLAYO\"\n ],\n \"telephone\":\"(555) 229-3322\", \n \"city\":\"Chiclayo\",\n \"firstname\":\"Giordhano\",\n \"lastname\":\"Valdez\" \n },\n \"billing_address\":{ \n \"countryId\":\"PE\", \n \"street\":[],\n \"telephone\":\"(555) 229-3322\", \n \"city\":\"Chiclayo\",\n \"firstname\":\"Giordhano\",\n \"lastname\":\"Valdez\", \n \"saveInAddressBook\":null\n },\n \"shipping_method_code\":\"pickupstore\",\n \"shipping_carrier_code\":\"pickupstore\",\n \"extension_attributes\":{ \n \"departamento_id\":\"04\",\n \"provincia_id\":\"01\",\n \"distrito_id\":\"01\",\n \"tienda_id\":\"A302\"\n }\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/shipping-information",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"shipping-information"
]
}
},
"response": []
},
{
"name": "Checkout: Registro de datos de envio metodo delivery, nueva direccion (cliente registrado)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{ \n \"addressInformation\":{ \n \"shipping_address\":{ \n \"countryId\":\"PE\", \n \"street\":[ \n \t\"Urbanizacion Ilo H30\"\n ],\n \"telephone\":\"(555) 229-3322\", \n \"city\":\"Ilo, Moquegua\",\n \"firstname\":\"Giordhano\",\n \"lastname\":\"Valdez\", \n \"saveInAddressBook\" : \"1\"\n },\n \"billing_address\":{ \n \"countryId\":\"PE\", \n \"street\":[ \n \t\"Urbanizacion Ilo H30\"\n ],\n \"telephone\":\"(555) 229-3322\", \n \"city\":\"Chiclayo\",\n \"firstname\":\"Giordhano\",\n \"lastname\":\"Valdez\", \n \"saveInAddressBook\":null\n },\n \"shipping_method_code\":\"flatrate\",\n \"shipping_carrier_code\":\"flatrate\",\n \"extension_attributes\":{ \n \"departamento_id\":\"04\",\n \"provincia_id\":\"01\",\n \"distrito_id\":\"01\",\n \"tienda_id\":\"\"\n }\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/shipping-information",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"shipping-information"
]
}
},
"response": []
},
{
"name": "Checkout: Registro de datos de envio metodo delivery direccion existente (cliente registrado)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{ \n \"addressInformation\":{ \n \"shipping_address\":{ \n \"countryId\":\"PE\", \n \"street\":[ \n \t\"Urbanizacion Ilo H30\"\n ],\n \"telephone\":\"(555) 229-3322\", \n \"city\":\"Ilo, Moquegua\",\n \"firstname\":\"Giordhano\",\n \"lastname\":\"Valdez\", \n \"customerId\" : \"5\",\n \"customerAddressId\" : \"6\"\n },\n \"billing_address\":{ \n \"countryId\":\"PE\", \n \"street\":[ \n \t\"Urbanizacion Ilo H30\"\n ],\n \"telephone\":\"(555) 229-3322\", \n \"city\":\"Chiclayo\",\n \"firstname\":\"Giordhano\",\n \"lastname\":\"Valdez\", \n \"saveInAddressBook\":null\n },\n \"shipping_method_code\":\"flatrate\",\n \"shipping_carrier_code\":\"flatrate\",\n \"extension_attributes\":{ \n \"departamento_id\":\"04\",\n \"provincia_id\":\"01\",\n \"distrito_id\":\"01\",\n \"tienda_id\":\"\"\n }\n }\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/carts/mine/shipping-information",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"carts",
"mine",
"shipping-information"
]
}
},
"response": []
},
{
"name": "Checkout: Payment information - ultimo paso checkout Stripe (visitante)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{customer_token}}"
}
],
"body": {
"mode": "raw",
"raw": "{ \n \"billingAddress\":{ \n \n \"countryId\":\"PE\", \n \"street\":[ \n \t\"Urbanizacion Ilo H30\",\n \t\"Dept 300\"\n ],\n \"telephone\":\"(555) 229-3322\", \n \"city\":\"Chiclayo\",\n \"firstname\":\"Giordhano\",\n \"lastname\":\"Valdez\",\n \"saveInAddressBook\" : null \n },\n \"cart_id\" : \"145fa5378c4915c3e002e4230494a177\",\n \"email\" : \"giordhanovaldez@gmail.com\",\n \"paymentMethod\" : {\n \t\t\"method\" : \"pmclain_stripe\",\n \t\t\"aditional_data\" : {\n \t\t\t\"cc_exp_month\" : 4,\n\t\t\t\"cc_exp_year\" : 2019,\n\t\t\t\"cc_last4\" : \"4242\",\n\t\t\t\"cc_number\" : \"\",\n\t\t\t\"cc_ss_issue\" : \"\",\n\t\t\t\"cc_ss_start_month\" : \"\",\n\t\t\t\"cc_ss_start_year\" : \"\",\n\t\t\t\"cc_token\" : \"tok_1CNoiJCV0p9klX5EcN1bKt03\",\n\t\t\t\"cc_type\" : \"Visa\"\n\t\t}\n\t}\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/guest-carts/145fa5378c4915c3e002e4230494a177/payment-information",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"guest-carts",
"145fa5378c4915c3e002e4230494a177",
"payment-information"
]
}
},
"response": []
},
{
"name": "Checkout: Payment information - ultimo paso checkout Stripe (Usuario logeado)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer gg13x7v2nnvcoevql4ef70ae267nojea"
},
{
"key": "Cookie",
"value": "PHPSESSID=bmpti4rooap0j45deuhsogvch4;",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "{ \n \"billingAddress\":{ \n \"countryId\":\"PE\", \n \"customerAddressId\" : 6,\n \"customerId\" : 5, \n \"street\":[ \n \t\"Urbanizacion Ilo H30\",\n \t\"Dept 300\"\n ],\n \"telephone\":\"(555) 229-3322\", \n \"city\":\"Chiclayo\",\n \"firstname\":\"Giordhano\",\n \"lastname\":\"Valdez\",\n \"region\" : null,\n \"regionCode\" : null,\n \"saveInAddressBook\" : null \n },\n \"cart_id\" : \"233\", \n \"paymentMethod\" : {\n \t\t\"method\" : \"pmclain_stripe\",\n \t\t\"additional_data\" : {\n \t\t\t\"cc_exp_month\" : 4,\n\t\t\t\"cc_exp_year\" : 2019,\n\t\t\t\"cc_last4\" : \"4242\",\n\t\t\t\"cc_number\" : \"\",\n\t\t\t\"cc_ss_issue\" : \"\",\n\t\t\t\"cc_ss_start_month\" : \"\",\n\t\t\t\"cc_ss_start_year\" : \"\",\n\t\t\t\"cc_token\" : \"tok_1CNoZLCV0p9klX5EZl31RnJo\",\n\t\t\t\"cc_type\" : \"Visa\",\n\t\t\t\"is_active_payment_token_enabler\" : true\n\t\t}\n\t}\n}"
},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/carts/mine/payment-information",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"carts",
"mine",
"payment-information"
]
}
},
"response": []
},
{
"name": "Carrito visitante",
"request": {
"method": "POST",
"header": [],
"body": {},
"url": {
"raw": "https://www.devmf.com/rest/V1/guest-carts",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"guest-carts"
]
}
},
"response": []
},
{
"name": "Agregar producto carrito visitante",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "{\"cart_item\" : { \n \"sku\": \"188421\",\n \"qty\": 3,\n \"name\": \"Efexor XR 75 Mg Cápsulas de Liberación Prolongada\\n(Caja 10un)\",\n \"price\": 126.7,\n \"product_type\": \"simple\",\n \"quote_id\" : \"4489df2072ccbb2cf83e88ba76133f45\"\n}}"
},
"url": {
"raw": "https://www.devmf.com/rest/V1/guest-carts/4489df2072ccbb2cf83e88ba76133f45/items",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"guest-carts",
"4489df2072ccbb2cf83e88ba76133f45",
"items"
]
}
},
"response": []
},
{
"name": "Get info carrito visitante",
"request": {
"method": "GET",
"header": [],
"body": {},
"url": {
"raw": "https://www.devmf.com/rest/V1/guest-carts/4489df2072ccbb2cf83e88ba76133f45/items",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"V1",
"guest-carts",
"4489df2072ccbb2cf83e88ba76133f45",
"items"
]
}
},
"response": []
},
{
"name": "Ubigeo_Departamentos",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
],
"body": {},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/ubigeo/departamentos",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"ubigeo",
"departamentos"
]
}
},
"response": []
},
{
"name": "Ubigeo_Provincias",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
],
"body": {},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/ubigeo/provincias/15",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"ubigeo",
"provincias",
"15"
]
}
},
"response": []
},
{
"name": "Ubigeo_Distritos",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
],
"body": {},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/ubigeo/distritos/15/01",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"ubigeo",
"distritos",
"15",
"01"
]
}
},
"response": []
},
{
"name": "Localizador_Tiendas_Ubigeo",
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
}
],
"body": {},
"url": {
"raw": "https://www.devmf.com/rest/default/V1/tiendas/ubigeo/15/01/01",
"protocol": "https",
"host": [
"www",
"devmf",
"com"
],
"path": [
"rest",
"default",
"V1",
"tiendas",
"ubigeo",
"15",
"01",
"01"
]
}
},
"response": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment