latestOpenAPI 3.0.12026-08-20112309904.6 KB

466169815b78

Suppliers - Sites Upsert

Disable edges to suppliers and remove them from managed collections.

Deactivate supplier edges identified by your references.

Required permission: create_sites_upsert_requests

Performance impact: Low

delete/public/v1/sites-upsert/delta

Query parameters

dryRunboolean

If set to true, the request will be processed without actually writing to the database.This is useful for testing purposes. |Use endpoints {requestId}/dry-runs and dry-run/{id} to get the status and the results of your dry-runs.

Request body

idstring required

A textual identifier that uniquely identifies a Site connected to your organization. Your reference can be a Supplier ID, ERP ID, or any other unique identifier for a site.

sourcestring nullable

An identifier that determines which system the “your_reference” originates. The source could be any ERP system or any internal tool you use to maintain your data

Example request

[
  {
    "id": "ERP-ID-123",
    "source": "erp"
  }
]

Response

Request created successfully

requestIdstring uuid required

The ID of a sites upsert request. Use this ID to check the status of the request and to retrieve dry-run ids.