{"_id":"5632a5ea49e16d0d00122493","version":{"_id":"5632a5e549e16d0d00122443","__v":6,"project":"55b933b3146ef121002158d3","createdAt":"2015-10-29T23:04:05.701Z","releaseDate":"2015-10-29T23:04:05.701Z","categories":["5632a5e749e16d0d00122444","5632a5e749e16d0d00122445","5632a5e749e16d0d00122446","5632a5e749e16d0d00122447","5632a5e749e16d0d00122448","5632a5e749e16d0d00122449","5632a5e749e16d0d0012244a","5632a5e749e16d0d0012244b","5632a5e749e16d0d0012244c","5632a5e749e16d0d0012244d","5632a5e749e16d0d0012244e","5632a5e749e16d0d0012244f","5632a5e749e16d0d00122450","5632b179df556c0d00cd095b","564e13053b2b4a19000cd69b","59caa9df65accc001a489c95","59cab50965accc001a489d28","59cadd464ab7b70024378e74"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.1.0","version":"1.1"},"githubsync":"","project":"55b933b3146ef121002158d3","user":"55b932ba8fd1a02b00f496c8","__v":0,"category":{"_id":"5632a5e749e16d0d0012244d","__v":1,"pages":["5632a5ea49e16d0d00122481","5632a5ea49e16d0d00122482","5632a5ea49e16d0d00122483","5632a5ea49e16d0d00122484","5632a5ea49e16d0d00122485","5632a5ea49e16d0d00122486","5632a5ea49e16d0d00122487","5632a5ea49e16d0d00122488","5632a5ea49e16d0d00122489","5632a5ea49e16d0d0012248a","5632a5ea49e16d0d0012248b","5632a5ea49e16d0d0012248c","5632a5ea49e16d0d0012248d","5632a5ea49e16d0d0012248e","5632a5ea49e16d0d0012248f","5632a5ea49e16d0d00122490","5632a5ea49e16d0d00122491","5632a5ea49e16d0d00122492","5632a5ea49e16d0d00122493","5632a5ea49e16d0d00122494","5632a5ea49e16d0d00122495","5632a5ea49e16d0d00122496","5632a5ea49e16d0d00122497","5632a5ea49e16d0d00122498","5632a5ea49e16d0d00122499","5632a5ea49e16d0d0012249a","5632a5ea49e16d0d0012249b","5632a5ea49e16d0d0012249c","5632a5ea49e16d0d0012249d","5632a5ea49e16d0d0012249e","5632a5ea49e16d0d0012249f","5632a5ea49e16d0d001224a0","5632a5ea49e16d0d001224a1","5632a5ea49e16d0d001224a2","5632a5ea49e16d0d001224a3","5632a5ea49e16d0d001224a4","5632a5ea49e16d0d001224a5","5632a5ea49e16d0d001224a6","5632a5ea49e16d0d001224a7"],"project":"55b933b3146ef121002158d3","version":"5632a5e549e16d0d00122443","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-08-04T17:34:02.800Z","from_sync":false,"order":12,"slug":"objects","title":"Objects"},"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-08-04T17:56:20.721Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":17,"body":"Object describing a product price tier.\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Description\"\n}\n[/block]\nThis object represents a variable pricing tier. There are two types of price tiers: general pricing and customer specific pricing. Both types implement qty thresholds. For example, buy 1 for $9.99 or buy 10 for $8.99 each. For general price tiers the 'CustomerTier' parameter should be omitted or left blank. An example price tier for a product with a base price of 199.99 might look like:\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Qty\",\n    \"h-1\": \"Price\",\n    \"0-0\": \"10\",\n    \"0-1\": \"189.99\",\n    \"1-0\": \"50\",\n    \"1-1\": \"169.99\",\n    \"2-0\": \"100\",\n    \"2-1\": \"149.99\"\n  },\n  \"cols\": 2,\n  \"rows\": 3\n}\n[/block]\nIf a customer purchased up to 9 qty of this item, the price would be $199.99 each. If they purchased from 11 to 49 the price would be $189.99 each. From 50 to 99 would be $169.99 each. 100 and above would be $149.99 each.\nA customer price tier allows customer specific pricing to be set. This is done by creating price tiers with the 'CustomerTier' parameter set. The value of 'CustomerTier' is flexible and can be set to any string up to 32 characters. A customer will receive this pricing if they have a matching PriceTier parameter set on the [CustomerObject](/docs/customerobject). Multiple customers can be assigned to the PriceTier. An example customer price tier table for a product with a base price of $199.99:\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"CustomerTier\",\n    \"h-1\": \"Qty\",\n    \"h-2\": \"Price\",\n    \"0-0\": \"Distributor\",\n    \"0-1\": \"1\",\n    \"0-2\": \"129.99\",\n    \"1-0\": \"Distributor\",\n    \"1-1\": \"50\",\n    \"1-2\": \"109.99\",\n    \"2-0\": \"Distributor\",\n    \"2-1\": \"100\",\n    \"2-2\": \"99.99\",\n    \"3-0\": \"Employee\",\n    \"3-1\": \"1\",\n    \"3-2\": \"99.99\"\n  },\n  \"cols\": 3,\n  \"rows\": 4\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Properties\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Type\",\n    \"h-1\": \"Name\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"string\",\n    \"0-1\": \"Qty\",\n    \"0-2\": \"Qty threshold for price\",\n    \"1-0\": \"string\",\n    \"1-1\": \"Price\",\n    \"1-2\": \"Product Price\",\n    \"2-0\": \"string\",\n    \"2-1\": \"CustomerTier\",\n    \"2-2\": \"Customer based price tier identifier\"\n  },\n  \"cols\": 3,\n  \"rows\": 3\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Examples\"\n}\n[/block]","excerpt":"","slug":"pricetier","type":"basic","title":"PriceTier"}
Object describing a product price tier. [block:api-header] { "type": "basic", "title": "Description" } [/block] This object represents a variable pricing tier. There are two types of price tiers: general pricing and customer specific pricing. Both types implement qty thresholds. For example, buy 1 for $9.99 or buy 10 for $8.99 each. For general price tiers the 'CustomerTier' parameter should be omitted or left blank. An example price tier for a product with a base price of 199.99 might look like: [block:parameters] { "data": { "h-0": "Qty", "h-1": "Price", "0-0": "10", "0-1": "189.99", "1-0": "50", "1-1": "169.99", "2-0": "100", "2-1": "149.99" }, "cols": 2, "rows": 3 } [/block] If a customer purchased up to 9 qty of this item, the price would be $199.99 each. If they purchased from 11 to 49 the price would be $189.99 each. From 50 to 99 would be $169.99 each. 100 and above would be $149.99 each. A customer price tier allows customer specific pricing to be set. This is done by creating price tiers with the 'CustomerTier' parameter set. The value of 'CustomerTier' is flexible and can be set to any string up to 32 characters. A customer will receive this pricing if they have a matching PriceTier parameter set on the [CustomerObject](/docs/customerobject). Multiple customers can be assigned to the PriceTier. An example customer price tier table for a product with a base price of $199.99: [block:parameters] { "data": { "h-0": "CustomerTier", "h-1": "Qty", "h-2": "Price", "0-0": "Distributor", "0-1": "1", "0-2": "129.99", "1-0": "Distributor", "1-1": "50", "1-2": "109.99", "2-0": "Distributor", "2-1": "100", "2-2": "99.99", "3-0": "Employee", "3-1": "1", "3-2": "99.99" }, "cols": 3, "rows": 4 } [/block] [block:api-header] { "type": "basic", "title": "Properties" } [/block] [block:parameters] { "data": { "h-0": "Type", "h-1": "Name", "h-2": "Description", "0-0": "string", "0-1": "Qty", "0-2": "Qty threshold for price", "1-0": "string", "1-1": "Price", "1-2": "Product Price", "2-0": "string", "2-1": "CustomerTier", "2-2": "Customer based price tier identifier" }, "cols": 3, "rows": 3 } [/block] [block:api-header] { "type": "basic", "title": "Examples" } [/block]