Create Order
Deprecated
POST
https://openapi.bunjang.co.kr/api/v1/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/v1/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
seller
object
required
product
object
required
payment
object
required
detailUrl
string
required
createdAt
string <date-time>
required
Example:
2024-08-01T13:00:00Z
Example
{
"data": {
"id": 1,
"seller": {
"id": 12345,
"shopName": "Bunjang Shop"
},
"product": {
"id": 12345,
"name": "Product Name",
"price": 500000,
"imageUrl": "https://media.bunjang.co.kr/product/12345_1_1727762609_w360.jpg"
},
"payment": {
"productPrice": 500000,
"deliveryPrice": 3000,
"totalPrice": 503000
},
"detailUrl": "",
"createdAt": "2024-08-01T13:00:00Z"
}
}
🟠401INVALID_AUTH_TOKEN
🟠400BAD_REQUEST
Modified at 2025-02-18 05:46:16