Loading...

Order aliases

POST
/orders/account-aliases

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Header Parameters

Idempotency-Key*string

It helps preventing duplicates in your POST requests. It is recommend using a UUID for the key, however you may use any other unique identifier you choose.

Lengthlength <= 160
X-Volt-Api-Version*1

Version of the API used. Currently, version 1 is the only version.

Value in

  • 1

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/orders/account-aliases" \  -H "Idempotency-Key: 85136c79cbf9fe36bb9d05d0639c70c265c18d37" \  -H "X-Volt-Api-Version: 1" \  -H "Content-Type: application/json" \  -d '{    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",    "count": 1  }'
{  "id": "57ad1a6b-95ac-4b33-8c92-311cda8f3c99"}