Make a change through the SKU.io API
api_writeCreates or changes data through a SKU.io REST API endpoint (POST, PUT or PATCH; reference: https://developer.sku.io). Only reviewed endpoints that create records or edit fields can be called; search_api marks them callable. Deletes, voids, cancels and sends are unavailable. Returns {status, data} or a detailed error such as validation_failed. Needs "Allow changes" for the endpoint's area. dry_run validates without changing anything; idempotency_key makes a retry safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The JSON request body. | |
| dry_run | No | When true, validate the body against the endpoint and return what would be called, without changing anything. | |
| endpoint_id | Yes | An endpoint_id from search_api, e.g. "post.inventory-adjustments". | |
| path_params | No | Values for the endpoint_id's {placeholders}, e.g. {"id": 12}. | |
| idempotency_key | No | Optional, at most 128 characters. Repeating a call with the same key returns the first result instead of writing twice. |