Skip to main content
1

Create the test datasource

Open Admin → Connectors → Custom Source. Create a new datasource named test with document types purchase_order. Save its client ID, fingerprint, and private key.
2

Get a token

Follow Quickstart using the test datasource’s credentials and CLIENT_ID = "<tenant_slug>/test". Copy the returned token into your shell:
3

Open a dry-run upload

4

Send ten sample purchase orders

Save this as records.json:
The response has accepted: 10 and record_count: 10.
5

Send one more

The response has accepted: 1 and record_count: 11.
6

Close the upload

The response has status: "done".
7

Read the report

Expected output:
If close returned status: "rejected", drop the report projection from the jq filter and read report.per_type[].errors for the finding to fix; top-level report.errors is empty on both outcomes.report.per_type carries per-document-type warnings such as a missing SKU map. The dry run leaves documents unchanged.