{
	"info": {
		"_postman_id": "047bd20e-3bf4-44d4-8e1f-8ad944e067c8",
		"name": "Wantly",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "4741448"
	},
	"item": [
		{
			"name": "api/getproposals",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "deleted",
							"value": "0",
							"description": "BOOL",
							"type": "text"
						},
						{
							"key": "step",
							"value": "20",
							"description": "INT max 100",
							"type": "text"
						},
						{
							"key": "page",
							"value": "1",
							"description": "INT",
							"type": "text"
						},
						{
							"key": "orderby",
							"value": "created_at",
							"description": "STRING (id, nr.. any parameter) ",
							"type": "text"
						},
						{
							"key": "order",
							"value": "desc",
							"description": "STRING asc or desc",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/getproposals",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"getproposals"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/getproposal",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "id",
							"value": "4839",
							"description": "INT proposal id (id or url)",
							"type": "text"
						},
						{
							"key": "url",
							"value": "r3mzkmpwfcrl",
							"description": "STRING proposal URL (id or url)",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/getproposal",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"getproposal"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/deleteproposal",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "id",
							"value": "4839",
							"description": "INT proposal id (id or url)",
							"type": "text"
						},
						{
							"key": "url",
							"value": "r3mzkmpwfcrl",
							"description": "STRING proposal URL (id or url)",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/deleteproposal",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"deleteproposal"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/getproducts",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "deleted",
							"value": "0",
							"description": "BOOL",
							"type": "text"
						},
						{
							"key": "step",
							"value": "20",
							"description": "INT max 100",
							"type": "text"
						},
						{
							"key": "page",
							"value": "1",
							"description": "INT",
							"type": "text"
						},
						{
							"key": "orderby",
							"value": "created_at",
							"description": "STRING (id, sku.. any parameter) ",
							"type": "text"
						},
						{
							"key": "order",
							"value": "desc",
							"description": "STRING asc or desc",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/getproducts",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"getproducts"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/getproduct",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "id",
							"value": "8462",
							"description": "INT product id (id or sku)",
							"type": "text"
						},
						{
							"key": "sku",
							"value": "v8hn2i",
							"description": "STRING product SKU (id or sku)",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/getproduct",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"getproduct"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/createproduct",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"key\":\"{{apikey}}\",\r\n    \"name\": \"Product name\",\r\n    \"sku\": \"product_sku\",\r\n    \"price\": {\r\n        \"Supplier1\": {\r\n            \"1\": [\r\n                \"5\",\r\n                \"10\",\r\n                0\r\n            ],\r\n            \"10\": [\r\n                \"4.5\",\r\n                \"9\",\r\n                0\r\n            ]\r\n        },\r\n        \"Supplier2\": {\r\n            \"1\": [\r\n                \"4\",\r\n                \"10\",\r\n                0\r\n            ]\r\n        }\r\n    },\r\n    \"pvm\": 21,\r\n    \"units\": \"vnt\",\r\n    \"description\": \"Short description\",\r\n    \"descriptionl\": \"Long description\",\r\n    \"category\": \"410\",\r\n    \"attributes\": \"0\",\r\n    \"main_image\": \"9996\",\r\n    \"image_gallery\": \"9995, 22141, 22140, 22139, 22138, 22137, 22136, 22135, 22134\",\r\n    \"url\": [\r\n        \"www.page.lt\",\r\n        \"www.page.lt\"\r\n        ],\r\n    \"user\": 1,\r\n    \"grams\": \"\",\r\n    \"withpvm\": 1,\r\n    \"amounttype\": 0,\r\n    \"periodical\": 0\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/createproduct",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"createproduct"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/editproduct",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"key\":\"{{apikey}}\",\r\n    \"id\":\"123\",\r\n    \"name\": \"Product name\",\r\n    \"sku\": \"product_sku\",\r\n    \"price\": {\r\n        \"Supplier1\": {\r\n            \"1\": [\r\n                \"5\",\r\n                \"10\",\r\n                0\r\n            ],\r\n            \"10\": [\r\n                \"4.5\",\r\n                \"9\",\r\n                0\r\n            ]\r\n        },\r\n        \"Supplier2\": {\r\n            \"1\": [\r\n                \"4\",\r\n                \"10\",\r\n                0\r\n            ]\r\n        }\r\n    },\r\n    \"pvm\": 21,\r\n    \"units\": \"vnt\",\r\n    \"description\": \"Short description\",\r\n    \"descriptionl\": \"Long description\",\r\n    \"category\": \"410\",\r\n    \"attributes\": \"0\",\r\n    \"main_image\": \"9996\",\r\n    \"image_gallery\": \"9995, 22141, 22140, 22139, 22138, 22137, 22136, 22135, 22134\",\r\n    \"url\": [\r\n        \"www.page.lt\",\r\n        \"www.page.lt\"\r\n        ],\r\n    \"user\": 1,\r\n    \"grams\": \"\",\r\n    \"withpvm\": 1,\r\n    \"amounttype\": 0,\r\n    \"periodical\": 0\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/editproduct",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"editproduct"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/deleteproduct",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "id",
							"value": "8462",
							"description": "INT product id (id or sku)",
							"type": "text"
						},
						{
							"key": "sku",
							"value": "v8hn2i",
							"description": "STRING product SKU (id or sku)",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/deleteproduct",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"deleteproduct"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/getusers",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/getusers",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"getusers"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/getuser",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "id",
							"value": "1",
							"description": "INT user id",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/getuser",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"getuser"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/getcategories",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/getcategories",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"getcategories"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/getcategory",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "id",
							"value": "97",
							"description": "INT category id",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/getcategory",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"getcategory"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/createcategory",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "name",
							"value": "Category",
							"description": "STRING category name",
							"type": "text"
						},
						{
							"key": "parent",
							"value": "0",
							"description": "INT category parent id (0 if no parent)",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/createcategory",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"createcategory"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/createimage",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "url",
							"value": "https://www.industrialempathy.com/img/remote/ZiClJf-1920w.jpg",
							"description": "STRING image URL",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/createimage",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"createimage"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/createcontact",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "name",
							"value": "97",
							"description": "INT category id",
							"type": "text"
						},
						{
							"key": "code",
							"value": "123456",
							"description": "STRING company code",
							"type": "text"
						},
						{
							"key": "phone",
							"value": "+3706000000",
							"description": "STRING company phone nr",
							"type": "text"
						},
						{
							"key": "email",
							"value": "mail@mail.com",
							"description": "STRING company email",
							"type": "text"
						},
						{
							"key": "address",
							"value": "Street 10 - 5",
							"description": "STRING company address",
							"type": "text"
						},
						{
							"key": "person",
							"value": "Name Surname",
							"description": "STRING company contact person",
							"type": "text"
						},
						{
							"key": "vat",
							"value": "LT132456847",
							"description": "STRING company vat code",
							"type": "text"
						},
						{
							"key": "website",
							"value": "www.company.com",
							"description": "STRING company website",
							"type": "text"
						},
						{
							"key": "city",
							"value": "Vilnius",
							"description": "STRING company city",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/createcontact",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"createcontact"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/editcontact",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "id",
							"value": "12",
							"description": "INT company id",
							"type": "text"
						},
						{
							"key": "name",
							"value": "97",
							"description": "INT category id",
							"type": "text"
						},
						{
							"key": "code",
							"value": "123456",
							"description": "STRING company code",
							"type": "text"
						},
						{
							"key": "phone",
							"value": "+3706000000",
							"description": "STRING company phone nr",
							"type": "text"
						},
						{
							"key": "email",
							"value": "mail@mail.com",
							"description": "STRING company email",
							"type": "text"
						},
						{
							"key": "address",
							"value": "Street 10 - 5",
							"description": "STRING company address",
							"type": "text"
						},
						{
							"key": "person",
							"value": "Name Surname",
							"description": "STRING company contact person",
							"type": "text"
						},
						{
							"key": "vat",
							"value": "LT132456847",
							"description": "STRING company vat code",
							"type": "text"
						},
						{
							"key": "website",
							"value": "www.company.com",
							"description": "STRING company website",
							"type": "text"
						},
						{
							"key": "city",
							"value": "Vilnius",
							"description": "STRING company city",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/editcontact",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"editcontact"
					]
				}
			},
			"response": []
		},
		{
			"name": "api/getcontacts",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "key",
							"value": "{{apikey}}",
							"description": "STRING API key generated in Wantly settings",
							"type": "text"
						},
						{
							"key": "step",
							"value": "20",
							"description": "INT max 100",
							"type": "text"
						},
						{
							"key": "page",
							"value": "1",
							"description": "INT",
							"type": "text"
						},
						{
							"key": "orderby",
							"value": "created_at",
							"description": "STRING (id, name.. any main parameter) ",
							"type": "text"
						},
						{
							"key": "order",
							"value": "desc",
							"description": "STRING asc or desc",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://{{subdomain}}.wantly.eu/api/getcontacts",
					"protocol": "https",
					"host": [
						"{{subdomain}}",
						"wantly",
						"eu"
					],
					"path": [
						"api",
						"getcontacts"
					]
				}
			},
			"response": []
		}
	]
}