Limit Orders
Create an order
Creates a confidential order.
Errors. Branch on code, never on title or detail. New codes arrive without a major
version, so treat an unrecognized code as the HTTP status alone.
| Status | Codes |
|---|---|
| 400 | malformed-request, validation-failed, request-rejected, order-rejected |
| 401 | authentication-required |
| 403 | client-generated-id |
| 409 | resource-type-mismatch |
| 429 | rate-limit-exceeded |
| 500 | internal-error |
| 503 | service-unavailable |
POST
/
v0
/
orders
Create an order
curl --request POST \
--url https://1click.chaindefuser.com/v0/orders \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"data": {
"type": "orders",
"attributes": {
"orderType": "LIMIT",
"baseAsset": "nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near",
"quoteAsset": "nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near",
"quantity": "1000000",
"price": "100 or 0.5",
"refundTo": "0x2527D02599Ba641c19FEa793cD0F167589a0f10D",
"recipient": "13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK",
"deadline": "2019-08-24T14:15:22Z",
"depositMode": "SIMPLE",
"timeInForce": "GTC",
"appFees": [
{
"recipient": "recipient.near",
"fee": 100
}
]
}
}
}
'import requests
url = "https://1click.chaindefuser.com/v0/orders"
payload = { "data": {
"type": "orders",
"attributes": {
"orderType": "LIMIT",
"baseAsset": "nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near",
"quoteAsset": "nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near",
"quantity": "1000000",
"price": "100 or 0.5",
"refundTo": "0x2527D02599Ba641c19FEa793cD0F167589a0f10D",
"recipient": "13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK",
"deadline": "2019-08-24T14:15:22Z",
"depositMode": "SIMPLE",
"timeInForce": "GTC",
"appFees": [
{
"recipient": "recipient.near",
"fee": 100
}
]
}
} }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
data: {
type: 'orders',
attributes: {
orderType: 'LIMIT',
baseAsset: 'nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near',
quoteAsset: 'nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near',
quantity: '1000000',
price: '100 or 0.5',
refundTo: '0x2527D02599Ba641c19FEa793cD0F167589a0f10D',
recipient: '13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK',
deadline: '2019-08-24T14:15:22Z',
depositMode: 'SIMPLE',
timeInForce: 'GTC',
appFees: [{recipient: 'recipient.near', fee: 100}]
}
}
})
};
fetch('https://1click.chaindefuser.com/v0/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://1click.chaindefuser.com/v0/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'data' => [
'type' => 'orders',
'attributes' => [
'orderType' => 'LIMIT',
'baseAsset' => 'nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near',
'quoteAsset' => 'nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near',
'quantity' => '1000000',
'price' => '100 or 0.5',
'refundTo' => '0x2527D02599Ba641c19FEa793cD0F167589a0f10D',
'recipient' => '13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK',
'deadline' => '2019-08-24T14:15:22Z',
'depositMode' => 'SIMPLE',
'timeInForce' => 'GTC',
'appFees' => [
[
'recipient' => 'recipient.near',
'fee' => 100
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://1click.chaindefuser.com/v0/orders"
payload := strings.NewReader("{\n \"data\": {\n \"type\": \"orders\",\n \"attributes\": {\n \"orderType\": \"LIMIT\",\n \"baseAsset\": \"nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near\",\n \"quoteAsset\": \"nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near\",\n \"quantity\": \"1000000\",\n \"price\": \"100 or 0.5\",\n \"refundTo\": \"0x2527D02599Ba641c19FEa793cD0F167589a0f10D\",\n \"recipient\": \"13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK\",\n \"deadline\": \"2019-08-24T14:15:22Z\",\n \"depositMode\": \"SIMPLE\",\n \"timeInForce\": \"GTC\",\n \"appFees\": [\n {\n \"recipient\": \"recipient.near\",\n \"fee\": 100\n }\n ]\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://1click.chaindefuser.com/v0/orders")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"data\": {\n \"type\": \"orders\",\n \"attributes\": {\n \"orderType\": \"LIMIT\",\n \"baseAsset\": \"nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near\",\n \"quoteAsset\": \"nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near\",\n \"quantity\": \"1000000\",\n \"price\": \"100 or 0.5\",\n \"refundTo\": \"0x2527D02599Ba641c19FEa793cD0F167589a0f10D\",\n \"recipient\": \"13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK\",\n \"deadline\": \"2019-08-24T14:15:22Z\",\n \"depositMode\": \"SIMPLE\",\n \"timeInForce\": \"GTC\",\n \"appFees\": [\n {\n \"recipient\": \"recipient.near\",\n \"fee\": 100\n }\n ]\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://1click.chaindefuser.com/v0/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"data\": {\n \"type\": \"orders\",\n \"attributes\": {\n \"orderType\": \"LIMIT\",\n \"baseAsset\": \"nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near\",\n \"quoteAsset\": \"nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near\",\n \"quantity\": \"1000000\",\n \"price\": \"100 or 0.5\",\n \"refundTo\": \"0x2527D02599Ba641c19FEa793cD0F167589a0f10D\",\n \"recipient\": \"13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK\",\n \"deadline\": \"2019-08-24T14:15:22Z\",\n \"depositMode\": \"SIMPLE\",\n \"timeInForce\": \"GTC\",\n \"appFees\": [\n {\n \"recipient\": \"recipient.near\",\n \"fee\": 100\n }\n ]\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"type": "orders",
"id": "<string>",
"attributes": {
"orderType": "LIMIT",
"depositAddress": "0x2527D...a0f10D",
"depositMode": "SIMPLE",
"depositType": "ORIGIN_CHAIN",
"fillStatus": "AWAITING_DEPOSIT",
"payoutStatus": "NOT_STARTED",
"isPayoutStatusFinal": true,
"payouts": {
"withdrawal": {
"status": "IN_PROGRESS"
},
"allWithdrawals": [
{
"status": "IN_PROGRESS"
}
],
"refund": {
"status": "IN_PROGRESS"
}
},
"depositedAmount": "1000000000",
"depositedAmountFormatted": "1.0",
"baseAsset": "<string>",
"quoteAsset": "<string>",
"quantity": "<string>",
"swapView": {
"swapType": "EXACT_INPUT",
"originAsset": "<string>",
"destinationAsset": "<string>",
"amountIn": "<string>",
"minAmountOut": "<string>"
},
"side": "SELL",
"price": "<string>",
"appFees": [
{
"recipient": "recipient.near",
"fee": 100
}
],
"recipient": "<string>",
"recipientType": "DESTINATION_CHAIN",
"refundTo": "<string>",
"refundType": "ORIGIN_CHAIN",
"estimatedWithdrawFee": "<string>",
"estimatedWithdrawFeeFormatted": "<string>",
"estimatedRefundFee": "<string>",
"estimatedRefundFeeFormatted": "<string>",
"confidentiality": "public",
"timeInForce": "GTC",
"deadline": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"depositMemo": "123456",
"partialFills": [
{
"id": "<string>",
"amountIn": "<string>",
"amountOut": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"links": {
"self": "<string>"
}
},
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}Was this page helpful?
⌘I
Create an order
curl --request POST \
--url https://1click.chaindefuser.com/v0/orders \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"data": {
"type": "orders",
"attributes": {
"orderType": "LIMIT",
"baseAsset": "nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near",
"quoteAsset": "nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near",
"quantity": "1000000",
"price": "100 or 0.5",
"refundTo": "0x2527D02599Ba641c19FEa793cD0F167589a0f10D",
"recipient": "13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK",
"deadline": "2019-08-24T14:15:22Z",
"depositMode": "SIMPLE",
"timeInForce": "GTC",
"appFees": [
{
"recipient": "recipient.near",
"fee": 100
}
]
}
}
}
'import requests
url = "https://1click.chaindefuser.com/v0/orders"
payload = { "data": {
"type": "orders",
"attributes": {
"orderType": "LIMIT",
"baseAsset": "nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near",
"quoteAsset": "nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near",
"quantity": "1000000",
"price": "100 or 0.5",
"refundTo": "0x2527D02599Ba641c19FEa793cD0F167589a0f10D",
"recipient": "13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK",
"deadline": "2019-08-24T14:15:22Z",
"depositMode": "SIMPLE",
"timeInForce": "GTC",
"appFees": [
{
"recipient": "recipient.near",
"fee": 100
}
]
}
} }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
data: {
type: 'orders',
attributes: {
orderType: 'LIMIT',
baseAsset: 'nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near',
quoteAsset: 'nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near',
quantity: '1000000',
price: '100 or 0.5',
refundTo: '0x2527D02599Ba641c19FEa793cD0F167589a0f10D',
recipient: '13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK',
deadline: '2019-08-24T14:15:22Z',
depositMode: 'SIMPLE',
timeInForce: 'GTC',
appFees: [{recipient: 'recipient.near', fee: 100}]
}
}
})
};
fetch('https://1click.chaindefuser.com/v0/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://1click.chaindefuser.com/v0/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'data' => [
'type' => 'orders',
'attributes' => [
'orderType' => 'LIMIT',
'baseAsset' => 'nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near',
'quoteAsset' => 'nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near',
'quantity' => '1000000',
'price' => '100 or 0.5',
'refundTo' => '0x2527D02599Ba641c19FEa793cD0F167589a0f10D',
'recipient' => '13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK',
'deadline' => '2019-08-24T14:15:22Z',
'depositMode' => 'SIMPLE',
'timeInForce' => 'GTC',
'appFees' => [
[
'recipient' => 'recipient.near',
'fee' => 100
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://1click.chaindefuser.com/v0/orders"
payload := strings.NewReader("{\n \"data\": {\n \"type\": \"orders\",\n \"attributes\": {\n \"orderType\": \"LIMIT\",\n \"baseAsset\": \"nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near\",\n \"quoteAsset\": \"nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near\",\n \"quantity\": \"1000000\",\n \"price\": \"100 or 0.5\",\n \"refundTo\": \"0x2527D02599Ba641c19FEa793cD0F167589a0f10D\",\n \"recipient\": \"13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK\",\n \"deadline\": \"2019-08-24T14:15:22Z\",\n \"depositMode\": \"SIMPLE\",\n \"timeInForce\": \"GTC\",\n \"appFees\": [\n {\n \"recipient\": \"recipient.near\",\n \"fee\": 100\n }\n ]\n }\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://1click.chaindefuser.com/v0/orders")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"data\": {\n \"type\": \"orders\",\n \"attributes\": {\n \"orderType\": \"LIMIT\",\n \"baseAsset\": \"nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near\",\n \"quoteAsset\": \"nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near\",\n \"quantity\": \"1000000\",\n \"price\": \"100 or 0.5\",\n \"refundTo\": \"0x2527D02599Ba641c19FEa793cD0F167589a0f10D\",\n \"recipient\": \"13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK\",\n \"deadline\": \"2019-08-24T14:15:22Z\",\n \"depositMode\": \"SIMPLE\",\n \"timeInForce\": \"GTC\",\n \"appFees\": [\n {\n \"recipient\": \"recipient.near\",\n \"fee\": 100\n }\n ]\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://1click.chaindefuser.com/v0/orders")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"data\": {\n \"type\": \"orders\",\n \"attributes\": {\n \"orderType\": \"LIMIT\",\n \"baseAsset\": \"nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.near\",\n \"quoteAsset\": \"nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.near\",\n \"quantity\": \"1000000\",\n \"price\": \"100 or 0.5\",\n \"refundTo\": \"0x2527D02599Ba641c19FEa793cD0F167589a0f10D\",\n \"recipient\": \"13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRK\",\n \"deadline\": \"2019-08-24T14:15:22Z\",\n \"depositMode\": \"SIMPLE\",\n \"timeInForce\": \"GTC\",\n \"appFees\": [\n {\n \"recipient\": \"recipient.near\",\n \"fee\": 100\n }\n ]\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"type": "orders",
"id": "<string>",
"attributes": {
"orderType": "LIMIT",
"depositAddress": "0x2527D...a0f10D",
"depositMode": "SIMPLE",
"depositType": "ORIGIN_CHAIN",
"fillStatus": "AWAITING_DEPOSIT",
"payoutStatus": "NOT_STARTED",
"isPayoutStatusFinal": true,
"payouts": {
"withdrawal": {
"status": "IN_PROGRESS"
},
"allWithdrawals": [
{
"status": "IN_PROGRESS"
}
],
"refund": {
"status": "IN_PROGRESS"
}
},
"depositedAmount": "1000000000",
"depositedAmountFormatted": "1.0",
"baseAsset": "<string>",
"quoteAsset": "<string>",
"quantity": "<string>",
"swapView": {
"swapType": "EXACT_INPUT",
"originAsset": "<string>",
"destinationAsset": "<string>",
"amountIn": "<string>",
"minAmountOut": "<string>"
},
"side": "SELL",
"price": "<string>",
"appFees": [
{
"recipient": "recipient.near",
"fee": 100
}
],
"recipient": "<string>",
"recipientType": "DESTINATION_CHAIN",
"refundTo": "<string>",
"refundType": "ORIGIN_CHAIN",
"estimatedWithdrawFee": "<string>",
"estimatedWithdrawFeeFormatted": "<string>",
"estimatedRefundFee": "<string>",
"estimatedRefundFeeFormatted": "<string>",
"confidentiality": "public",
"timeInForce": "GTC",
"deadline": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"depositMemo": "123456",
"partialFills": [
{
"id": "<string>",
"amountIn": "<string>",
"amountOut": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"links": {
"self": "<string>"
}
},
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"errors": [
{
"status": "400",
"code": "validation-failed",
"title": "Validation failed",
"detail": "Must be a positive decimal string.",
"source": {
"pointer": "/data/attributes/price"
}
}
],
"meta": {
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2019-08-24T14:15:22Z"
}
}