{"_id":"59df6a573b756800107b20a3","category":{"_id":"59df6a523b756800107b202b","version":"59df6a523b756800107b201e","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T16:20:51.519Z","from_sync":false,"order":12,"slug":"resources","title":"Resources"},"user":"560d5913af97231900938124","project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"version":{"_id":"59df6a523b756800107b201e","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2017-10-12T13:12:50.128Z","releaseDate":"2017-10-12T13:12:50.128Z","categories":["59df6a523b756800107b201f","59df6a523b756800107b2020","59df6a523b756800107b2021","59df6a523b756800107b2022","59df6a523b756800107b2023","59df6a523b756800107b2024","59df6a523b756800107b2025","59df6a523b756800107b2026","59df6a523b756800107b2027","59df6a523b756800107b2028","59df6a523b756800107b2029","59df6a523b756800107b202a","59df6a523b756800107b202b","59df6a523b756800107b202c","59df6a523b756800107b202d","59df6a523b756800107b202e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.23 Release","version_clean":"8976.0.0-XML","version":"8976-XML"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-12-06T18:47:19.351Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":44,"body":"###Request\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Required\",\n    \"0-0\": \"vendor-id\",\n    \"0-1\": \"*integer*\",\n    \"0-2\": \"**Required**\\nFor transactions involving vendors\",\n    \"1-0\": \"commission-percent\",\n    \"1-1\": \"*decimal*\",\n    \"1-2\": \"Optional; \\nDefines the vendor's commission percent for the transaction. \\n\\nIf blank, the transaction will use the value set during the creation of the vendor\\n\\n*Note:* Only commission percent or amount should be used, not both\",\n    \"2-0\": \"commission-amount\",\n    \"2-1\": \"*decimal*\",\n    \"2-2\": \"Optional; \\nDefines the vendor's commission amount for the transaction.\\n\\nIf blank, the transaction will use the commission rate set during the creation of the vendor. \\n\\nIf specified, the currency will be the same as the transaction currency. \\n\\n*Note:* Only commission percent or amount should be used, not both.\"\n  },\n  \"cols\": 3,\n  \"rows\": 3\n}\n[/block]","excerpt":"","slug":"vendor-info","type":"basic","title":"vendor-info"}

Request

Property Name
Type
Required

vendor-id

integer

Required
For transactions involving vendors

commission-percent

decimal

Optional;
Defines the vendor's commission percent for the transaction.

If blank, the transaction will use the value set during the creation of the vendor

Note: Only commission percent or amount should be used, not both

commission-amount

decimal

Optional;
Defines the vendor's commission amount for the transaction.

If blank, the transaction will use the commission rate set during the creation of the vendor.

If specified, the currency will be the same as the transaction currency.

Note: Only commission percent or amount should be used, not both.