Patch my import draft (diff)

Apply a partial diff to the vendor's import draft. Designed for debounced auto-save — send only the fields that changed.

Semantics:

  • add_selection — append uniquely
  • remove_selection — remove these IDs and delete their row entries
  • rows_upsert — merge each row patch into the existing row (keys not in selection are ignored)
  • rows_remove — delete row entries but keep the IDs in selection (clears fill data only)
  • defaults — shallow-merge into existing defaults

If no draft exists, one is created.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Partial-diff update. Only the fields you send are applied. Optimised for debounced auto-save.

add_selection
array of integers
add_selection
remove_selection
array of integers

Removing from selection also removes the corresponding row entry.

remove_selection
rows_upsert
object
rows_remove
array of integers
rows_remove
defaults
object
Responses

401

Unauthenticated

403

Forbidden — lacks CREATE_PRODUCT permission

422

Validation error

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json