Looking for a Json Payload to Create Supplier
Summary:
Looking for a Json Payload to Create Supplier
Content (required):
Hi Team,
We want to create supplier which includes address,contacts,sites and site assignment using REST API.We want to perform all the above operation using single payload.
we have the below Json payload however it's not allowing to create.If any one have the same please share with me
{
"Supplier": "GS Test",
"TaxOrganizationTypeCode": "CORPORATION",
"BusinessRelationshipCode": "SPEND_AUTHORIZED",
"TaxRegistrationCountry": "India",
"TaxRegistrationNumber": "12342139",
"TaxpayerCountry": "India",
"TaxpayerId": "123421390",
"UseWithholdingTaxFlag": "Y",
"addresses": [{
"AddressName": "GS Test Address",
"Country": "India",
"AddressLine1": "GSAddress1",
"AddressLine2": null,
"AddressLine3": null,
"AddressLine4": null,
"City": "Hyderabad",
"PostalCode": "500080",
"AddressPurposeOrderingFlag": "Y",
"AddressPurposeRemitToFlag": "Y",