|
|||
Import PartnersYou can use a default partner registration JSON template to import several partners in bulk. After the import process is complete, Trading Partner Management creates a new record for each imported partner based on the domain of the primary contact’s email address. ![]()
Copy
Example
To import partners:
![]() The API for the module Import Partners allows you to import several partners in bulk. For more information on the APIs supported by Trading Partner Management, see APIs. Note This API require a user bearer token.
POST 'https://tpm.uat.edifecsfedcloud.com/api/tpm/partnerships/register' \ --header 'accept: application/json' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data-raw '[ { "partnerProfile": { "accountDetails": { "formData": { "summary": { "BUSINESS_NAME": "News31.dl", "BUSINESS_TYPE": null, "contactInformation": { "ADDRESS": null, "ADDRESS1": null, "CITY": null, "STATE": null, "ZIP": null, "PHONE": null, "FAX": null } }, "primaryContact": { "FIRST_NAME": "News31", "LAST_NAME": "Dl31", "EMAIL": "news31@news.dl" } } }, "customDetails": {}, "registrationTemplateId": "1" } }, { "partnerProfile": { "accountDetails": { "formData": { "summary": { "BUSINESS_NAME": "News4.cd", "BUSINESS_TYPE": null, "contactInformation": { "ADDRESS": null, "ADDRESS1": null, "CITY": null, "STATE": null, "ZIP": null, "PHONE": null, "FAX": null } }, "primaryContact": { "FIRST_NAME": "News4", "LAST_NAME": "Cd4", "EMAIL": "news4@news.cd" } } }, "customDetails": {}, "registrationTemplateId": "1" } } ]' Sample Response Copy
Generate a bearer token:
|