Coinbase CDP icon

Coinbase CDP

Interact with Coinbase CDP Advanced Trade API

Orders → Edit Order Preview

AI-generated

Summary

Edit an order preview by configuring request options such as batching and timeout.

Inputs

  • requestOptions (required) — Collection of request options for editing the order preview.
  • requestOptions.batching — Configure how requests are batched.
  • requestOptions.batching.batchSize — Number of items per batch for throttling requests. Set to -1 to disable batching.
  • requestOptions.batching.batchInterval — Time interval in milliseconds between batches of requests. 0 disables the interval.
  • requestOptions.allowUnauthorizedCerts — Allow accepting responses without SSL certificate validation.
  • requestOptions.proxy — HTTP proxy to route requests through.
  • requestOptions.timeout — Timeout in milliseconds for waiting on server response before aborting.

Output shape

successful execution status and updated order preview data

The operation modifies the order and returns details related to the preview. Ensure timeout and batching are set to fit your needs.

Discussion