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 URLhttps://exchange.api.bity.com/v2
- Auth
- none
- or OAuth 2Authorization codehttps://connect.bity.com/oauth2/authToken URLhttps://connect.bity.com/oauth2/tokenScopeshttps://auth.bity.com/scopes/exchange.place
- or OAuth 2Client credentialsToken URLhttps://connect.bity.com/oauth2/tokenScopeshttps://auth.bity.com/scopes/exchange.place
- or OAuth 2Client credentialsToken URLhttps://connect.bity.com/oauth2/token
- TypeScriptA 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.