Create Order V2
POST
https://openapi.bunjang.co.kr/api/v2/orders
order
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
product
objectΒ
required
id
integerΒ
required
Example:
12345
price
integerΒ
required
Example:
500000
deliveryPrice
integerΒ
required
Example:
3000
Example
{
"product": {
"id": 12345,
"price": 500000
},
"deliveryPrice": 3000
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.bunjang.co.kr/api/v2/orders' \
--header 'Content-Type: application/json' \
--data-raw '{
"product": {
"id": 12345,
"price": 500000
},
"deliveryPrice": 3000
}'
Responses
π’200Success
application/json
Body
data
objectΒ
required
id
integerΒ
required
Example:
1
Example
{
"data": {
"id": 1
}
}
π 401INVALID_AUTH_TOKEN
π 400BAD_REQUEST
Modified atΒ 2025-03-19 05:16:02