Create order for IOS
POST/wc/orders/createIAP
Create order in app purchase
Request
- application/json
Body
required
Array [
]
customer_id integer
Example:
41734status string
Example:
pendingbilling
object
first_name string
Example:
naufalhakmlast_name string
Example:
xenditemail string
Example:
naufal.arkademi@gmail.comphone string
Example:
6281234596778coupon_lines
object[]
code string
Example:
--discount integer
Example:
0payment_method string
Example:
In app purchase (App Ios)payment_method_title string
Example:
ovoproduct_id integer
Example:
11776606course_id number
Example:
course_idpurchase_status string
Example:
testransaction_date string
Example:
12032022product_id_ios string
Example:
testpurchase_id string
Example:
testerror string
Example:
nulllocal_verif string
server_verif string
verification_data string
Example:
app_storeResponses
- 200
- 401
- 405
successful order
- application/json
- Schema
- Example (from schema)
Schema
success boolean
order_id integer
Example:
856{
"success": true,
"order_id": 856
}
failed authorization
- application/json
- Schema
- Example (from schema)
Schema
success boolean
Example:
falsemessage string
{
"success": false,
"message": "string"
}
Invalid input
- application/json
- Schema
- Example (from schema)
Schema
success boolean
Example:
falsemessage string
{
"success": false,
"message": "string"
}