Skip to main content
Use Connect partnership actions on https://data.grdd.net to send, accept, reject or withdraw requests, update partner details, or end a partnership for your company. Keep the Core reference below if your integration needs its existing request and response format.

Partner Management API

The Partner Management API changes the partnerships of your company on GNet core. One route handles all changes. The action query parameter selects the change. Your company is always the company of your token. You cannot act for another company with this route. To read partners and requests, see Get Partners.

Endpoint

POST https://core.grdd.net/api/partner?action=<action>

Headers

Use Authorization: Bearer with your access token from POST /api/token. The send, update, and accept actions accept only this form. They also require an enabled user, or a token from Partner Impersonation.
Send a JSON body with every action. If the action needs no body fields, send {}.

Actions

who and partnerid are GNET IDs. Letter case does not matter. The partnerup action is for GRiDD platform administrators only. Other callers get 403.

Partner details

The send and update bodies use these fields. Only partnerid is required.

Send a request

Core refuses the request if a request between the two companies is already pending, or if the companies are already partners.
core holds the reply of the GNet platform. Do not rely on its format.

Accept, reject, or withdraw a request

accept returns data.accepted. If accepted is false and data.reason is "request_not_found", the platform accepted the partnership but core did not find the request in your received requests. Read Get Partners with force=true to check the result. reject and remove_request return data.removed, the number of requests that core removed.

Update partner details

update changes your details for a company that is already your partner. The partner’s own details for your company do not change. The response contains data.updated and data.partnerid.

Delete a partnership

delete ends the partnership for both companies. The response contains data.removed, data.who, and data.griddid.

Error Responses

Errors use this format:
If core cannot read a token, it returns 401 with {"success": false, "message": "Unauthorized"}.

Best Practices

  • Check before you send. Use GET /api/partner/status to see if a request is pending or the companies are already partners.
  • Send {} as the body for actions that need no body fields.