{"basePath":"https://api.megaventory.com/v2017a","resourcePath":"/SupplierClient","apis":[{"path":"/SupplierClient/SupplierClientDelete","description":"Deletes a current suplier or client","operations":[{"httpMethod":"POST","nickname":"postSupplierClientSupplierClientDelete","summary":"Deletes a current suplier or client","notes":"Uses your API Key and the ID of the supplier/client you want to delete (SupplierClientIDToDelete) and deletes the specified supplier/client, if the specified supplier/client exists in Megaventory. You can specify the kind of delete action you want to implement using SupplierClientDeleteAction. In particular, you can replace them with a new Id (exclusively for Suppliers and only if the new Id provided is another Supplier's Id), you can delete all the products associated with this Supplier/Client or use the default option to just delete the Supplier/Client. Optionally, you can use mvInsertUpdateDeleteSourceApplication when an external application ( eg Magento ) is the one that triggers the SupplierClientDelete call. <br />\r\n<p class=\"exampleHeader\"> Examples: </p> <br />\r\n    <br/>\r\n\r\n<p class=\"exampleBullets\">A.</p> Replace a supplier's Id with 7. Call was triggered by Magento.\r\n<br/><br/>\r\n\r\n    <p class=\"valueClass\"> Value: </p> <pre class=\"mvResponse\">{\r\n   \"SupplierClientIDToDelete\": \"20\",\r\n   \"SupplierClientDeleteAction\": \"ReplaceWithNewId\",\r\n   \"NewSupplierClientIDToReplaceDeleted\": \"7\",\r\n   \"mvInsertUpdateDeleteSourceApplication\": \"Magento\"\r\n}</pre><br />\r\n    <br />\r\n    <p class=\"responseClass\"> Response: </p> <pre class=\"mvResponse\">{\r\n   \"result\": true,\r\n   \"ResponseStatus\": {\r\n      \"ErrorCode\": \"0\"\r\n   }\r\n} </pre> <br/>\r\n\r\n\r\n","parameters":[{"paramType":"body","allowMultiple":false,"required":false,"dataType":"SupplierClientDelete"}],"errorResponses":[]}]},{"path":"/SupplierClient/SupplierClientGet","description":"Gets information on\r\n existing suppliers and clients.","operations":[{"httpMethod":"GET","nickname":"getSupplierClientSupplierClientGet","summary":"Gets information on\r\n existing suppliers and clients.","notes":"Uses your API Key and some Filters in an array format and returns\r\n  the search results using given filters. Optionally, you can use ReturnTopNRecords to limit the number of\r\n   the results to the specified number (omit, or add ReturnTopNRecords = -1 to get all the available results).\r\n    The ReturnTopNRecords chooses the top records in a SupplierClientId descending order. <br /><br />\r\n<p class=\"exampleHeader\"> Examples: </p> <br />\r\n    <br/>\r\n\r\n<p class=\"exampleBullets\">A.</p> Return all the clients whose billing address contains CA. The results are returned as mvSupplierClients objects.\r\n\r\n<br />\r\n   We can add two Filters by using the AndOr operator as shown below: <br/><br/>\r\n<p class=\"valueClass\"> Value: </p> <pre class = \"mvResponse\">  {\r\n   \"Filters\": [\r\n      {\r\n         \"FieldName\": \"SupplierClientType\",\r\n         \"SearchOperator\": \"Equals\",\r\n         \"SearchValue\": \"Client\"\r\n      },\r\n      {\r\n         \"AndOr\": \"And\",\r\n         \"FieldName\": \"SupplierClientBillingAddress\",\r\n         \"SearchOperator\": \"Contains\",\r\n         \"SearchValue\": \"CA\"\r\n      }\r\n   ]\r\n} </pre>\r\n\r\n<p class=\"responseClass\">  Response: </p> <pre class=\"mvResponse\"> {\r\n   \"mvSupplierClients\": [\r\n      {\r\n         \"SupplierClientID\": 9,\r\n         \"SupplierClientType\": \"Client\",\r\n         \"SupplierClientName\": \"Retail Client\",\r\n         \"mvContacts\": [],\r\n         \"SupplierClientBillingAddress\": \"1 Infinite Loop Cupertino CA 95014\",\r\n         \"SupplierClientShippingAddress1\": \"1600 Amphitheatre Parkway Mountain View CA\",\r\n         \"SupplierClientShippingAddress2\": \"\",\r\n         \"SupplierClientPhone1\": \"+1234567890\",\r\n         \"SupplierClientPhone2\": \"+0987654321\",\r\n         \"SupplierClientFax\": \"\",\r\n         \"SupplierClientIM\": \"\",\r\n         \"SupplierClientEmail\": \"first@client.com\",\r\n         \"SupplierClientTaxID\": \"client taxid\",\r\n         \"SupplierClientComments\": \"\",\r\n         \"SupplierClientCustomField1\": \"\",\r\n         \"SupplierClientCustomField2\": \"\",\r\n         \"SupplierClientCustomField3\": \"\",\r\n         \"SupplierClientCustomField4\": \"\",\r\n         \"SupplierClientCustomField5\": \"\",\r\n         \"SupplierClientCustomField6\": \"\",\r\n         \"SupplierClientCustomField7\": \"\",\r\n         \"SupplierClientCustomField8\": \"\",\r\n         \"SupplierClientCustomField9\": \"\",\r\n         \"SupplierClientCustomField10\": \"\",\r\n         \"SupplierClientOption1\": \"\",\r\n         \"SupplierClientOption2\": \"\",\r\n         \"SupplierClientOption3\": \"\",\r\n         \"SupplierClientOption4\": \"\",\r\n         \"SupplierClientOption5\": \"\",\r\n         \"SupplierClientOption6\": \"\",\r\n         \"SupplierClientOption7\": \"\",\r\n         \"SupplierClientOption8\": \"\",\r\n         \"SupplierClientOption9\": \"\",\r\n         \"SupplierClientOption10\": \"\",\r\n         \"SupplierClientCreationDate\": \"/Date(1499856477997-0000)/\"\r\n      }\r\n   ],\r\n   \"ResponseStatus\": {\r\n      \"ErrorCode\": \"0\"\r\n   }\r\n}\r\n</pre>\r\n\r\n","parameters":[],"errorResponses":[]},{"httpMethod":"POST","nickname":"postSupplierClientSupplierClientGet","summary":"Gets information on\r\n existing suppliers and clients.","notes":"Uses your API Key and some Filters in an array format and returns\r\n  the search results using given filters. Optionally, you can use ReturnTopNRecords to limit the number of\r\n   the results to the specified number (omit, or add ReturnTopNRecords = -1 to get all the available results).\r\n    The ReturnTopNRecords chooses the top records in a SupplierClientId descending order. <br /><br />\r\n<p class=\"exampleHeader\"> Examples: </p> <br />\r\n    <br/>\r\n\r\n<p class=\"exampleBullets\">A.</p> Return all the clients whose billing address contains CA. The results are returned as mvSupplierClients objects.\r\n\r\n<br />\r\n   We can add two Filters by using the AndOr operator as shown below: <br/><br/>\r\n<p class=\"valueClass\"> Value: </p> <pre class = \"mvResponse\">  {\r\n   \"Filters\": [\r\n      {\r\n         \"FieldName\": \"SupplierClientType\",\r\n         \"SearchOperator\": \"Equals\",\r\n         \"SearchValue\": \"Client\"\r\n      },\r\n      {\r\n         \"AndOr\": \"And\",\r\n         \"FieldName\": \"SupplierClientBillingAddress\",\r\n         \"SearchOperator\": \"Contains\",\r\n         \"SearchValue\": \"CA\"\r\n      }\r\n   ]\r\n} </pre>\r\n\r\n<p class=\"responseClass\">  Response: </p> <pre class=\"mvResponse\"> {\r\n   \"mvSupplierClients\": [\r\n      {\r\n         \"SupplierClientID\": 9,\r\n         \"SupplierClientType\": \"Client\",\r\n         \"SupplierClientName\": \"Retail Client\",\r\n         \"mvContacts\": [],\r\n         \"SupplierClientBillingAddress\": \"1 Infinite Loop Cupertino CA 95014\",\r\n         \"SupplierClientShippingAddress1\": \"1600 Amphitheatre Parkway Mountain View CA\",\r\n         \"SupplierClientShippingAddress2\": \"\",\r\n         \"SupplierClientPhone1\": \"+1234567890\",\r\n         \"SupplierClientPhone2\": \"+0987654321\",\r\n         \"SupplierClientFax\": \"\",\r\n         \"SupplierClientIM\": \"\",\r\n         \"SupplierClientEmail\": \"first@client.com\",\r\n         \"SupplierClientTaxID\": \"client taxid\",\r\n         \"SupplierClientComments\": \"\",\r\n         \"SupplierClientCustomField1\": \"\",\r\n         \"SupplierClientCustomField2\": \"\",\r\n         \"SupplierClientCustomField3\": \"\",\r\n         \"SupplierClientCustomField4\": \"\",\r\n         \"SupplierClientCustomField5\": \"\",\r\n         \"SupplierClientCustomField6\": \"\",\r\n         \"SupplierClientCustomField7\": \"\",\r\n         \"SupplierClientCustomField8\": \"\",\r\n         \"SupplierClientCustomField9\": \"\",\r\n         \"SupplierClientCustomField10\": \"\",\r\n         \"SupplierClientOption1\": \"\",\r\n         \"SupplierClientOption2\": \"\",\r\n         \"SupplierClientOption3\": \"\",\r\n         \"SupplierClientOption4\": \"\",\r\n         \"SupplierClientOption5\": \"\",\r\n         \"SupplierClientOption6\": \"\",\r\n         \"SupplierClientOption7\": \"\",\r\n         \"SupplierClientOption8\": \"\",\r\n         \"SupplierClientOption9\": \"\",\r\n         \"SupplierClientOption10\": \"\",\r\n         \"SupplierClientCreationDate\": \"/Date(1499856477997-0000)/\"\r\n      }\r\n   ],\r\n   \"ResponseStatus\": {\r\n      \"ErrorCode\": \"0\"\r\n   }\r\n}\r\n</pre>\r\n\r\n","parameters":[{"paramType":"body","allowMultiple":false,"required":false,"dataType":"SupplierClientGet"}],"errorResponses":[]}]},{"path":"/SupplierClient/SupplierClientUndelete","description":"Undeletes a current suplier or client","operations":[{"httpMethod":"POST","nickname":"postSupplierClientSupplierClientUndelete","summary":"Undeletes a current suplier or client","notes":"Uses your API Key and the ID of the supplier/client you want to undelete (SupplierClientIDToUndelete) and undeletes the specified supplier/client if it exists. <br />\r\n<p class=\"exampleHeader\"> Examples: </p> <br />\r\n    <br/>\r\n\r\n<p class=\"exampleBullets\">A.</p> Undelete a supplier.\r\n<br/><br/>\r\n\r\n    <p class=\"valueClass\"> Value: </p> <pre class=\"mvResponse\">{\r\n   \"SupplierClientIDToUndelete\": \"20\"\r\n}</pre><br />\r\n    <br />\r\n    <p class=\"responseClass\"> Response: </p> <pre class=\"mvResponse\">{\r\n   \"result\": true,\r\n   \"ResponseStatus\": {\r\n      \"ErrorCode\": \"0\"\r\n   }\r\n} </pre> <br/>\r\n\r\n\r\n","parameters":[{"paramType":"body","allowMultiple":false,"required":false,"dataType":"SupplierClientUndelete"}],"errorResponses":[]}]},{"path":"/SupplierClient/SupplierClientUpdate","description":"Inserts a\r\nsupplier/client or updates an existing one.","operations":[{"httpMethod":"POST","nickname":"postSupplierClientSupplierClientUpdate","summary":"Inserts a\r\nsupplier/client or updates an existing one.","notes":"Uses your API Key and applies a mvRecordAction\r\n value on an mvSupplierClient object. We can insert the mvSupplierClient we specified using \"Insert\"\r\n  as our mvRecordAction. We can update a current one using \"Update\", we can insert it if it doesn't already\r\n  exist, update it if it does using \"InsertOrUpdate\" and we can insert new fields or update non-empty\r\n  fields of the object using \"InsertOrUpdateNonEmptyFields\". Optionally, you can use\r\n  mvInsertUpdateDeleteSourceApplication when an external application ( eg WooCommerce )\r\n   is the one that triggers the SupplierClientUpdate call. SupplierClientId cannot be updated.\r\n<br /><br />\r\n<p class=\"exampleHeader\"> Examples: </p> <br />\r\n    <br/>\r\n\r\n<p class=\"exampleBullets\">A.</p> Insert a new supplier who has 2 contacts. The SupplierClientUpdate call was triggered by Magento.\r\n<br/><br/>\r\n<p class=\"valueClass\"> Value:</p> <pre class=\"mvResponse\"> {\r\n   \"mvSupplierClient\": {\r\n      \"SupplierClientType\": \"Supplier\",\r\n      \"SupplierClientName\": \"A4 Paper Supplier\",\r\n      \"mvContacts\": [\r\n         {\r\n            \"ContactName\": \"Andrew Stevens\",\r\n            \"ContactDepartment\": \"A4 Papers/Printing\",\r\n            \"ContactEmail\": \"andrew@a4printing.jp\",\r\n            \"ContantIsPrimary\": \"true\"\r\n         },\r\n         {\r\n            \"ContactName\": \"Maria Weems\",\r\n            \"ContactDepartment\": \"A4 Papers/Pictures\"\r\n         }\r\n      ],\r\n      \"SupplierClientBillingAddress\": \"41st Trueroad , Inglewood CA\",\r\n      \"SupplierClientShippingAddress\": \"93rd Kiwi Street, Las Vegas, Nevada\"\r\n   },\r\n   \"mvGrantPermissionsToAllUser\": \"true\",\r\n   \"mvRecordAction\": \"Insert\",\r\n   \"mvInsertUpdateDeleteSourceApplication\": \"Magento\"\r\n} </pre><br />\r\n    <br />\r\n\r\n    <p class=\"responseClass\"> Response: </p> <pre class=\"mvResponse\"> {\r\n   \"mvSupplierClient\": {\r\n      \"SupplierClientID\": 23,\r\n      \"SupplierClientType\": \"Supplier\",\r\n      \"SupplierClientName\": \"A4 Paper Supplier\",\r\n      \"mvContacts\": [\r\n         {\r\n            \"ContactName\": \"Andrew Stevens\",\r\n            \"ContactDepartment\": \"A4 Papers/Printing\",\r\n            \"ContactEmail\": \"andrew@a4printing.jp\",\r\n            \"ContactIsPrimary\": false\r\n         },\r\n         {\r\n            \"ContactName\": \"Maria Weems\",\r\n            \"ContactDepartment\": \"A4 Papers/Pictures\",\r\n            \"ContactIsPrimary\": false\r\n         }\r\n      ],\r\n      \"SupplierClientBillingAddress\": \"41st Trueroad , Inglewood CA\",\r\n      \"SupplierClientShippingAddress1\": \"\",\r\n      \"SupplierClientShippingAddress2\": \"\",\r\n      \"SupplierClientPhone1\": \"\",\r\n      \"SupplierClientPhone2\": \"\",\r\n      \"SupplierClientFax\": \"\",\r\n      \"SupplierClientIM\": \"\",\r\n      \"SupplierClientEmail\": \"\",\r\n      \"SupplierClientTaxID\": \"\",\r\n      \"SupplierClientComments\": \"\",\r\n      \"SupplierClientCustomField1\": \"\",\r\n      \"SupplierClientCustomField2\": \"\",\r\n      \"SupplierClientCustomField3\": \"\",\r\n      \"SupplierClientCustomField4\": \"\",\r\n      \"SupplierClientCustomField5\": \"\",\r\n      \"SupplierClientCustomField6\": \"\",\r\n      \"SupplierClientCustomField7\": \"\",\r\n      \"SupplierClientCustomField8\": \"\",\r\n      \"SupplierClientCustomField9\": \"\",\r\n      \"SupplierClientCustomField10\": \"\",\r\n      \"SupplierClientOption1\": \"\",\r\n      \"SupplierClientOption2\": \"\",\r\n      \"SupplierClientOption3\": \"\",\r\n      \"SupplierClientOption4\": \"\",\r\n      \"SupplierClientOption5\": \"\",\r\n      \"SupplierClientOption6\": \"\",\r\n      \"SupplierClientOption7\": \"\",\r\n      \"SupplierClientOption8\": \"\",\r\n      \"SupplierClientOption9\": \"\",\r\n      \"SupplierClientOption10\": \"\",\r\n      \"SupplierClientCreationDate\": \"/Date(1507628895856+0300)/\"\r\n   },\r\n   \"ResponseStatus\": {\r\n      \"ErrorCode\": \"0\"\r\n   },\r\n   \"entityID\": 23\r\n}</pre>\r\n\r\n\r\n<p class=\"exampleBullets\">B.</p>\r\n    <br/> <br/> Updates the above supplier by changing his billing address, adding a second shipping address, a phone and an IM contact. <br/>\r\n\r\n    <p class=\"valueClass\"> Value: </p> <pre class=\"mvResponse\"> {\r\n   \"mvSupplierClient\": {\r\n      \"SupplierClientId\": \"23\",\r\n      \"SupplierClientName\": \"A4 Paper Supplier\",\r\n      \"SupplierClientBillingAddress\": \"47th Trueroad , Inglewood CA\",\r\n      \"SupplierClientShippingAddress2\": \"11th Trueside Boulevard, Jacksonville, FL\",\r\n      \"SupplierClientPhone1\": \"+113236237323232\",\r\n      \"SupplierClientIM\": \"@andrewstevens2017\"\r\n   },\r\n   \"mvRecordAction\": \"Update\"\r\n} </pre><br />\r\n    <br />\r\n    <p class=\"responseClass\"> Response: </p> <pre class=\"mvResponse\"> {\r\n   \"mvSupplierClient\": {\r\n      \"SupplierClientID\": 23,\r\n      \"SupplierClientType\": \"Supplier\",\r\n      \"SupplierClientName\": \"A4 Paper Supplier\",\r\n      \"mvContacts\": [],\r\n      \"SupplierClientBillingAddress\": \"47th Trueroad , Inglewood CA\",\r\n      \"SupplierClientShippingAddress1\": \"\",\r\n      \"SupplierClientShippingAddress2\": \"11th Trueside Boulevard, Jacksonville, FL\",\r\n      \"SupplierClientPhone1\": \"+113236237323232\",\r\n      \"SupplierClientPhone2\": \"\",\r\n      \"SupplierClientFax\": \"\",\r\n      \"SupplierClientIM\": \"@andrewstevens2017\",\r\n      \"SupplierClientEmail\": \"\",\r\n      \"SupplierClientTaxID\": \"\",\r\n      \"SupplierClientCustomField1\": \"\",\r\n      \"SupplierClientCustomField2\": \"\",\r\n      \"SupplierClientCustomField3\": \"\",\r\n      \"SupplierClientCustomField4\": \"\",\r\n      \"SupplierClientCustomField5\": \"\",\r\n      \"SupplierClientCustomField6\": \"\",\r\n      \"SupplierClientCustomField7\": \"\",\r\n      \"SupplierClientCustomField8\": \"\",\r\n      \"SupplierClientCustomField9\": \"\",\r\n      \"SupplierClientCustomField10\": \"\",\r\n      \"SupplierClientOption1\": \"\",\r\n      \"SupplierClientOption2\": \"\",\r\n      \"SupplierClientOption3\": \"\",\r\n      \"SupplierClientOption4\": \"\",\r\n      \"SupplierClientOption5\": \"\",\r\n      \"SupplierClientOption6\": \"\",\r\n      \"SupplierClientOption7\": \"\",\r\n      \"SupplierClientOption8\": \"\",\r\n      \"SupplierClientOption9\": \"\",\r\n      \"SupplierClientOption10\": \"\",\r\n      \"SupplierClientCreationDate\": \"/Date(1507628895857-0000)/\"\r\n   },\r\n   \"ResponseStatus\": {\r\n      \"ErrorCode\": \"0\"\r\n   },\r\n   \"entityID\": 23\r\n}</pre> <br/>\r\n\r\n","parameters":[{"paramType":"body","allowMultiple":false,"required":false,"dataType":"SupplierClientUpdate"}],"errorResponses":[]}]}],"models":{"SupplierClientGet":{"id":"SupplierClientGet","properties":{"APIKEY":{"type":"string","required":true},"showDeleted":{"type":"string","allowableValues":{"valueType":"LIST","values":["showOnlyUndeleted","showOnlyDeleted","showAllDeletedAndUndeleted"]},"required":false},"Filters":{"type":"Array","items":{"$ref":"Filter"},"required":false},"ReturnTopNRecords":{"type":"int","required":false}}},"Filter":{"id":"Filter","properties":{"AndOr":{"type":"string","allowableValues":{"valueType":"LIST","values":["And","Or"]},"required":true},"Group":{"type":"string","allowableValues":{"valueType":"LIST","values":["Undefined","NoGroup","StartGroup","EndGroup"]},"required":true},"FieldName":{"type":"string","required":true},"SearchOperator":{"type":"string","allowableValues":{"valueType":"LIST","values":["Undefined","Equals","NotEquals","BeginsWith","EndsWith","Contains","GreaterThan","LessThan"]},"required":true},"SearchValue":{"type":"string","required":true}}},"SupplierClientUpdate":{"id":"SupplierClientUpdate","properties":{"APIKEY":{"type":"string","required":true},"mvSupplierClient":{"type":"mvSupplierClient","required":true},"mvRecordAction":{"type":"string","allowableValues":{"valueType":"LIST","values":["Insert","Update","InsertOrUpdate","InsertOrUpdateNonEmptyFields"]},"required":true},"mvGrantPermissionsToAllUsers":{"type":"boolean","required":false},"mvInsertUpdateDeleteSourceApplication":{"type":"string","required":false}}},"mvSupplierClient":{"id":"mvSupplierClient","properties":{"SupplierClientID":{"type":"int","required":false},"SupplierClientType":{"type":"string","allowableValues":{"valueType":"LIST","values":["Both","Supplier","Client","SupplierOrClientOrBoth"]},"required":false},"SupplierClientName":{"type":"string","required":true},"SupplierClientBillingAddress":{"type":"string","required":false},"SupplierClientShippingAddress1":{"type":"string","required":false},"SupplierClientShippingAddress2":{"type":"string","required":false},"SupplierClientAddresses":{"type":"Array","items":{"$ref":"mvAddress"},"required":false},"SupplierClientPhone1":{"type":"string","required":false},"SupplierClientPhone2":{"type":"string","required":false},"SupplierClientFax":{"type":"string","required":false},"SupplierClientIM":{"type":"string","required":false},"SupplierClientEmail":{"type":"string","required":false},"SupplierClientTaxID":{"type":"string","required":false},"SupplierClientCurrency":{"type":"string","required":false},"SupplierClientPaymentTermsEnum":{"type":"string","allowableValues":{"valueType":"LIST","values":["None","DueOnReceipt","Net10","Net15","Net30","Net60","Net90","CustomPaymentTerms1","CustomPaymentTerms2","OtherPaymentTerms"]},"required":false},"SupplierClientPaymentMethodEnum":{"type":"string","allowableValues":{"valueType":"LIST","values":["None","Cash","Credit","Check","BankTransfer","CustomPaymentMethod1","CustomPaymentMethod2","CustomPaymentMethod3","Other"]},"required":false},"SupplierClientComments":{"type":"string","required":false},"SupplierClientCustomField1":{"type":"string","required":false},"SupplierClientCustomField2":{"type":"string","required":false},"SupplierClientCustomField3":{"type":"string","required":false},"SupplierClientCustomField4":{"type":"string","required":false},"SupplierClientCustomField5":{"type":"string","required":false},"SupplierClientCustomField6":{"type":"string","required":false},"SupplierClientCustomField7":{"type":"string","required":false},"SupplierClientCustomField8":{"type":"string","required":false},"SupplierClientCustomField9":{"type":"string","required":false},"SupplierClientCustomField10":{"type":"string","required":false},"SupplierClientOption1":{"type":"boolean","required":false},"SupplierClientOption2":{"type":"boolean","required":false},"SupplierClientOption3":{"type":"boolean","required":false},"SupplierClientOption4":{"type":"boolean","required":false},"SupplierClientOption5":{"type":"boolean","required":false},"SupplierClientOption6":{"type":"boolean","required":false},"SupplierClientOption7":{"type":"boolean","required":false},"SupplierClientOption8":{"type":"boolean","required":false},"SupplierClientOption9":{"type":"boolean","required":false},"SupplierClientOption10":{"type":"boolean","required":false},"SupplierClientCreationDate":{"type":"Date","required":false},"mvContacts":{"type":"Array","items":{"$ref":"mvContactPerson"},"required":false}}},"mvAddress":{"id":"mvAddress","properties":{"AddressType":{"type":"string","allowableValues":{"valueType":"LIST","values":["General","Billing","Shipping1","Shipping2"]},"required":true},"AddressLine1":{"type":"string","required":false},"AddressLine2":{"type":"string","required":false},"AddressLine3":{"type":"string","required":false},"Name":{"type":"string","required":false},"Phone":{"type":"string","required":false},"Email":{"type":"string","required":false},"TaxIdNumber":{"type":"string","required":false},"Organization":{"type":"string","required":false},"City":{"type":"string","required":false},"State":{"type":"string","required":false},"Country":{"type":"string","allowableValues":{"valueType":"LIST","values":["NONE","AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","SS","ZW","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM"]},"required":false},"CountryName":{"type":"string","required":false},"Longitude":{"type":"string","required":false},"Latitude":{"type":"string","required":false},"ZipCode":{"type":"string","required":false}}},"Nullable`1":{"id":"Nullable`1","properties":{"HasValue":{"type":"boolean","required":true},"Value":{"type":"boolean","required":true}}},"mvContactPerson":{"id":"mvContactPerson","properties":{"ContactId":{"type":"int","required":true},"ContactName":{"type":"string","required":true},"ContactDepartment":{"type":"string","required":true},"ContactAddress":{"type":"string","required":true},"ContactFullAddress":{"type":"mvAddress","required":true},"ContactEmail":{"type":"string","required":true},"ContactPhone1":{"type":"string","required":true},"ContactPhone2":{"type":"string","required":true},"ContactFax":{"type":"string","required":true},"ContactIM":{"type":"string","required":true},"ContactCustomField1":{"type":"string","required":true},"ContactCustomField2":{"type":"string","required":true},"ContactIsPrimary":{"type":"boolean","required":true},"mvSuppliersClients":{"type":"Array","items":{"$ref":"mvSupplierClient"},"required":false}}},"SupplierClientDelete":{"id":"SupplierClientDelete","properties":{"APIKEY":{"type":"string","required":true},"SupplierClientIDToDelete":{"type":"int","required":true},"SupplierClientDeleteAction":{"type":"string","allowableValues":{"valueType":"LIST","values":["ReplaceWithNewId","DeleteProducts","DefaultAction"]},"required":true},"NewSupplierClientIDToReplaceDeleted":{"type":"int","required":false},"mvInsertUpdateDeleteSourceApplication":{"type":"string","required":false}}},"SupplierClientUndelete":{"id":"SupplierClientUndelete","properties":{"APIKEY":{"type":"string","required":true},"SupplierClientIDToUndelete":{"type":"int","required":true}}}}}