Update order
curl --request PUT \
--url https://api.us.cr4ce.com/order/{order_slug} \
--header 'Accept: <accept>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"company": "Acme Studios",
"address": "221B Baker Street",
"city": "London",
"state": "Greater London",
"postcode": "NW1 6XE",
"country": "GB",
"payment_status": "paid",
"note": "Paid via bank transfer."
}
'import requests
url = "https://api.us.cr4ce.com/order/{order_slug}"
payload = {
"company": "Acme Studios",
"address": "221B Baker Street",
"city": "London",
"state": "Greater London",
"postcode": "NW1 6XE",
"country": "GB",
"payment_status": "paid",
"note": "Paid via bank transfer."
}
headers = {
"Accept": "<accept>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
Accept: '<accept>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
company: 'Acme Studios',
address: '221B Baker Street',
city: 'London',
state: 'Greater London',
postcode: 'NW1 6XE',
country: 'GB',
payment_status: 'paid',
note: 'Paid via bank transfer.'
})
};
fetch('https://api.us.cr4ce.com/order/{order_slug}', 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://api.us.cr4ce.com/order/{order_slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'company' => 'Acme Studios',
'address' => '221B Baker Street',
'city' => 'London',
'state' => 'Greater London',
'postcode' => 'NW1 6XE',
'country' => 'GB',
'payment_status' => 'paid',
'note' => 'Paid via bank transfer.'
]),
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"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://api.us.cr4ce.com/order/{order_slug}"
payload := strings.NewReader("{\n \"company\": \"Acme Studios\",\n \"address\": \"221B Baker Street\",\n \"city\": \"London\",\n \"state\": \"Greater London\",\n \"postcode\": \"NW1 6XE\",\n \"country\": \"GB\",\n \"payment_status\": \"paid\",\n \"note\": \"Paid via bank transfer.\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Accept", "<accept>")
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.put("https://api.us.cr4ce.com/order/{order_slug}")
.header("Accept", "<accept>")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"company\": \"Acme Studios\",\n \"address\": \"221B Baker Street\",\n \"city\": \"London\",\n \"state\": \"Greater London\",\n \"postcode\": \"NW1 6XE\",\n \"country\": \"GB\",\n \"payment_status\": \"paid\",\n \"note\": \"Paid via bank transfer.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.us.cr4ce.com/order/{order_slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Accept"] = '<accept>'
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"company\": \"Acme Studios\",\n \"address\": \"221B Baker Street\",\n \"city\": \"London\",\n \"state\": \"Greater London\",\n \"postcode\": \"NW1 6XE\",\n \"country\": \"GB\",\n \"payment_status\": \"paid\",\n \"note\": \"Paid via bank transfer.\"\n}"
response = http.request(request)
puts response.read_body{
"address": "12 Example Street",
"city": "London",
"comments": "",
"company": "Example Productions Ltd",
"country": "United Kingdom",
"created_at": "2026-01-15T09:00:00Z",
"currency": "GBP",
"discount": 0,
"discount_code": "",
"e_invoice_status": "none",
"invoice_number": "INV-001234",
"ip_address": "203.0.113.42",
"items": "<ul><li>Standard entry × 1 — £50.00</li></ul>",
"items_array": [
{
"amount": "£50.00",
"description": "Standard entry",
"discount": "£0.00",
"entry": {
"slug": "AbCdEfGh",
"link": "https://api.au.cr4ce.com/entry/AbCdEfGh",
"title": "Sustainable Cities Initiative"
},
"item_type": "entry",
"name": "Standard entry",
"price": {
"slug": "IjKlMnOp",
"link": "https://api.au.cr4ce.com/price/IjKlMnOp",
"title": {
"en_GB": "Standard entry"
}
},
"quantity": 1
}
],
"member_number": "",
"payment_method": "card",
"payment_status": "paid",
"postcode": "EC1A 1BB",
"processing_fee": 1.5,
"processing_fee_rate": 3,
"region": "",
"season": {
"slug": "QrStUvWx",
"link": "https://api.au.cr4ce.com/season/QrStUvWx",
"name": {
"en_GB": "2025"
}
},
"slug": "YzAbCdEf",
"state": "",
"subtotal": 50,
"tax": 10,
"tax_rate": 20,
"tax_rate_details": {
"country": "GB",
"link": "https://api.au.cr4ce.com/tax/GhIjKlMn",
"name": "VAT",
"rate": 20,
"region": null,
"slug": "GhIjKlMn",
"term": "VAT"
},
"tax_term": "VAT",
"total": 61.5,
"transaction_date": "2026-01-15T09:01:00Z",
"transaction_provider": "stripe",
"transaction_reference": "REDACTED",
"transaction_status": "succeeded",
"user": {
"slug": "OpQrStUv",
"link": "https://api.au.cr4ce.com/user/OpQrStUv",
"name": "Jane Smith",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane.smith@example.com"
},
"vat_number": "GB123456789"
}{
"message": "<string>",
"status_code": 400
}{
"message": "<string>",
"status_code": 401
}{
"message": "<string>",
"status_code": 403
}{
"message": "<string>",
"status_code": 404
}{
"message": "<string>",
"status_code": 422,
"errors": {}
}{
"message": "<string>",
"status_code": 429
}{
"status": "Maintenance in progress"
}Orders
Update order
Update the billing information and status of the order identified by the specified slug.
PUT
/
order
/
{order_slug}
Update order
curl --request PUT \
--url https://api.us.cr4ce.com/order/{order_slug} \
--header 'Accept: <accept>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"company": "Acme Studios",
"address": "221B Baker Street",
"city": "London",
"state": "Greater London",
"postcode": "NW1 6XE",
"country": "GB",
"payment_status": "paid",
"note": "Paid via bank transfer."
}
'import requests
url = "https://api.us.cr4ce.com/order/{order_slug}"
payload = {
"company": "Acme Studios",
"address": "221B Baker Street",
"city": "London",
"state": "Greater London",
"postcode": "NW1 6XE",
"country": "GB",
"payment_status": "paid",
"note": "Paid via bank transfer."
}
headers = {
"Accept": "<accept>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {
Accept: '<accept>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
company: 'Acme Studios',
address: '221B Baker Street',
city: 'London',
state: 'Greater London',
postcode: 'NW1 6XE',
country: 'GB',
payment_status: 'paid',
note: 'Paid via bank transfer.'
})
};
fetch('https://api.us.cr4ce.com/order/{order_slug}', 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://api.us.cr4ce.com/order/{order_slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'company' => 'Acme Studios',
'address' => '221B Baker Street',
'city' => 'London',
'state' => 'Greater London',
'postcode' => 'NW1 6XE',
'country' => 'GB',
'payment_status' => 'paid',
'note' => 'Paid via bank transfer.'
]),
CURLOPT_HTTPHEADER => [
"Accept: <accept>",
"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://api.us.cr4ce.com/order/{order_slug}"
payload := strings.NewReader("{\n \"company\": \"Acme Studios\",\n \"address\": \"221B Baker Street\",\n \"city\": \"London\",\n \"state\": \"Greater London\",\n \"postcode\": \"NW1 6XE\",\n \"country\": \"GB\",\n \"payment_status\": \"paid\",\n \"note\": \"Paid via bank transfer.\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Accept", "<accept>")
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.put("https://api.us.cr4ce.com/order/{order_slug}")
.header("Accept", "<accept>")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"company\": \"Acme Studios\",\n \"address\": \"221B Baker Street\",\n \"city\": \"London\",\n \"state\": \"Greater London\",\n \"postcode\": \"NW1 6XE\",\n \"country\": \"GB\",\n \"payment_status\": \"paid\",\n \"note\": \"Paid via bank transfer.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.us.cr4ce.com/order/{order_slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Accept"] = '<accept>'
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"company\": \"Acme Studios\",\n \"address\": \"221B Baker Street\",\n \"city\": \"London\",\n \"state\": \"Greater London\",\n \"postcode\": \"NW1 6XE\",\n \"country\": \"GB\",\n \"payment_status\": \"paid\",\n \"note\": \"Paid via bank transfer.\"\n}"
response = http.request(request)
puts response.read_body{
"address": "12 Example Street",
"city": "London",
"comments": "",
"company": "Example Productions Ltd",
"country": "United Kingdom",
"created_at": "2026-01-15T09:00:00Z",
"currency": "GBP",
"discount": 0,
"discount_code": "",
"e_invoice_status": "none",
"invoice_number": "INV-001234",
"ip_address": "203.0.113.42",
"items": "<ul><li>Standard entry × 1 — £50.00</li></ul>",
"items_array": [
{
"amount": "£50.00",
"description": "Standard entry",
"discount": "£0.00",
"entry": {
"slug": "AbCdEfGh",
"link": "https://api.au.cr4ce.com/entry/AbCdEfGh",
"title": "Sustainable Cities Initiative"
},
"item_type": "entry",
"name": "Standard entry",
"price": {
"slug": "IjKlMnOp",
"link": "https://api.au.cr4ce.com/price/IjKlMnOp",
"title": {
"en_GB": "Standard entry"
}
},
"quantity": 1
}
],
"member_number": "",
"payment_method": "card",
"payment_status": "paid",
"postcode": "EC1A 1BB",
"processing_fee": 1.5,
"processing_fee_rate": 3,
"region": "",
"season": {
"slug": "QrStUvWx",
"link": "https://api.au.cr4ce.com/season/QrStUvWx",
"name": {
"en_GB": "2025"
}
},
"slug": "YzAbCdEf",
"state": "",
"subtotal": 50,
"tax": 10,
"tax_rate": 20,
"tax_rate_details": {
"country": "GB",
"link": "https://api.au.cr4ce.com/tax/GhIjKlMn",
"name": "VAT",
"rate": 20,
"region": null,
"slug": "GhIjKlMn",
"term": "VAT"
},
"tax_term": "VAT",
"total": 61.5,
"transaction_date": "2026-01-15T09:01:00Z",
"transaction_provider": "stripe",
"transaction_reference": "REDACTED",
"transaction_status": "succeeded",
"user": {
"slug": "OpQrStUv",
"link": "https://api.au.cr4ce.com/user/OpQrStUv",
"name": "Jane Smith",
"first_name": "Jane",
"last_name": "Smith",
"email": "jane.smith@example.com"
},
"vat_number": "GB123456789"
}{
"message": "<string>",
"status_code": 400
}{
"message": "<string>",
"status_code": 401
}{
"message": "<string>",
"status_code": 403
}{
"message": "<string>",
"status_code": 404
}{
"message": "<string>",
"status_code": 422,
"errors": {}
}{
"message": "<string>",
"status_code": 429
}{
"status": "Maintenance in progress"
}Authorizations
Headers
Defines the languages included in the response. If non are provided, the account default language is returned.
Value all overrides any other values present.
You can request multiple languages using a comma-separated string of languages.
The selected language must be supported by your account or a 400 error is returned.
Available options:
all, ar_AR, bg_BG, bn_IN, ca_ES, cs_CZ, cy_GB, da_DK, de_DE, en_GB, en_US, el_GR, es_NN, es_LA, et_EE, fa_NN, fi_FI, fr_FR, fr_CA, he_IL, hi_IN, hr_HR, hu_HU, hy_AM, it_IT, ja_JP, ko_KR, lt_LT, ms_MY, nl_NL, nb_NO, pl_PL, pt_BR, ro_RO, ru_RU, sk_SK, sl_SI, sq_AL, sr_RS, sv_SE, sw_NN, th_TH, tr_TR, uk_UA, vi_VN, zh_CN, zh_HK Body
application/json
Order update payload.
Two-letter country code. See Two-letter country codes.
Response
Order updated.
Order recording a purchase made on the account.