Orders

Duplicate an order

This endpoint places a new order with the same amount, same input object, same ouput object and same payment details as an already executed one.

It is only possible to duplicate orders of which the full order details are accessible.

post/orders/{order_uuid}/duplicate

Request

  • Base URL
    https://exchange.api.bity.com/v2
  • Auth
    • none
    • or OAuth 2
      Authorization codehttps://connect.bity.com/oauth2/auth
      Token URLhttps://connect.bity.com/oauth2/token
      Scopeshttps://auth.bity.com/scopes/exchange.place
    • or OAuth 2
      Client credentials
      Token URLhttps://connect.bity.com/oauth2/token
      Scopeshttps://auth.bity.com/scopes/exchange.place
    • or OAuth 2
      Client credentials
      Token URLhttps://connect.bity.com/oauth2/token
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

order_uuidstring required

ID of the order to duplicate.

Response

The order has been successfully created.

The Location header contains the URI (which can be relative) at which the order status and details can be retrieved. That is, the Location header is meant to be interpreted as per RFC 7231 section 7.1.2.

Changes

No recorded changes to this operation across all 1 revision of this API.