Update Order
Developing
PUT
/order/{orderId}/
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/order/cd630c94b1fd4f65bcaed8a99618ddd8/' \
--header 'Accept: application/json; version=bevy.1.0' \
--header 'Accept-Encoding: gzip, deflate, br, zstd' \
--header 'Accept-Language: en' \
--header 'Origin: https://gdg.community.dev' \
--header 'Referer: https://gdg.community.dev/events/details/google-gdg-jakarta-presents-test-event/' \
--header 'Sec-Ch-Ua: "Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126",,' \
--header 'Sec-Ch-Ua-Mobile: ?0' \
--header 'Sec-Ch-Ua-Platform: "macOS"' \
--header 'Sec-Fetch-Dest: empty' \
--header 'Sec-Fetch-Mode: cors' \
--header 'Sec-Fetch-Site: same-origin' \
--header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36' \
--header 'X-Csrftoken: P5ezA01RuCxmYDm9QMsHdoD3JTenLLJv49gWeqY0WJEvGGleewVTZs0V9PdOsdNK' \
--header 'Cookie: cookie_consent_is_true=true; csrftoken=SepXnnDWxW4Ieti8a8QzxMSm6lCIGujZ7irk1NA5Z3bRWwhdySjLjQfewhB9nWne; sessionid=chueufwydydghuxre58pts0ahebqqeh1; __stripe_mid=662df390-c006-4032-b838-aa01b3aa10bd5a70c4; __stripe_sid=e3b33fde-a59a-41f0-83ef-86466d6bfa7ba4d0e6; correlation_key="google/99a50a06-2f56-4fe1-94b5-1cf6f23baa57"' \
--form 'attendees="[{\"1017464\":\"Notified by this community\",\"1017465\":\"6-10 years\",\"1017466\":\"tes\",\"first_name\":\"GDG Jakarta\",\"last_name\":\"ID\",\"email\":\"tes10@tes.com\"}]"' \
--form 'status="authorized_for_payment"' \
--form 'tickets="[{\"id\":28649,\"audience_type\":\"IN_PERSON\",\"quantity\":1,\"discount_code\":\"\"}]"' \
--form 'user="1005761"'
Response Response Example
{
"id": "cd630c94b1fd4f65bcaed8a99618ddd8",
"tickets": [
{
"id": 28650,
"title": "Tes",
"quantity": 1,
"total_price": 0,
"price": 0,
"fees": 0,
"available": 100,
"sale_start_date": "2024-07-20T04:14:24Z",
"sale_end_date": "2024-07-28T04:12:01Z",
"is_for_sale": true,
"reported_price_includes_fees": false,
"reported_price": 0,
"reported_price_per_ticket": 0,
"reported_fees_per_ticket": 0,
"discount_code": null
}
],
"total_amount": 0,
"payment_client_tokens": null,
"order_code": "GOOGE241093721",
"user": 1005761,
"status": "open",
"payment_processor_slug": "bevypay",
"external_transaction_id": null,
"created_date": "2024-07-20T05:18:59.655549Z",
"currency": "USD",
"payment_methods": [],
"is_featured_attendee": false,
"use_featured_attendees": true,
"add_to_chapter": false,
"joined_chapter_via_cohost_event_registration": null,
"payment_flow": ""
}
Request
Path Params
orderId
string
required
Example:
cd630c94b1fd4f65bcaed8a99618ddd8
Header Params
Accept
string
required
Example:
application/json; version=bevy.1.0
Accept-Encoding
string
required
Example:
gzip, deflate, br, zstd
Accept-Language
string
required
Example:
en
Content-Type
string
required
Example:
application/json
Cookie
string
required
Cookie
from Bevy HeadersExample:
cookie_consent_is_true=true; csrftoken=SepXnnDWxW4Ieti8a8QzxMSm6lCIGujZ7irk1NA5Z3bRWwhdySjLjQfewhB9nWne; sessionid=chueufwydydghuxre58pts0ahebqqeh1; __stripe_mid=662df390-c006-4032-b838-aa01b3aa10bd5a70c4; __stripe_sid=e3b33fde-a59a-41f0-83ef-86466d6bfa7ba4d0e6; correlation_key="google/99a50a06-2f56-4fe1-94b5-1cf6f23baa57"
Origin
string
required
Example:
https://gdg.community.dev
Referer
string
required
Referer
from Bevy HeadersExample:
https://gdg.community.dev/events/details/google-gdg-jakarta-presents-test-event/
Sec-Ch-Ua
string
required
Example:
"Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126",,
Sec-Ch-Ua-Mobile
string
required
Example:
?0
Sec-Ch-Ua-Platform
string
required
Example:
"macOS"
Sec-Fetch-Dest
string
required
Example:
empty
Sec-Fetch-Mode
string
required
Example:
cors
Sec-Fetch-Site
string
required
Example:
same-origin
User-Agent
string
required
Example:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
X-Csrftoken
string
required
CsrfToken
from Bevy HeadersExample:
P5ezA01RuCxmYDm9QMsHdoD3JTenLLJv49gWeqY0WJEvGGleewVTZs0V9PdOsdNK
Body Params multipart/form-data
attendees
string
optional
Example:
[{"1017464":"Notified by this community","1017465":"6-10 years","1017466":"tes","first_name":"GDG Jakarta","last_name":"ID","email":"tes10@tes.com"}]
status
string
optional
Example:
authorized_for_payment
tickets
string
optional
Example:
[{"id":28649,"audience_type":"IN_PERSON","quantity":1,"discount_code":""}]
user
string
optional
Example:
1005761