Hi there,
I am having trouble creating a draft order using https://shopify.dev/docs/api/admin-rest/2023-07/resources/draftorder#post-draft-orders
The response I get is (x-request-id: 29af5acd-e6d1-444e-8a52-605ce4d0d54b-1710517372 at 2024-03-15 at ~11:40am EST)
{
"errors": {
"base": [
"The currency you selected is no longer available. All prices are now in PHP."
]
}
}
What should I do?
Request
POST /admin/api/2023-07/draft_orders.json HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 564
Content-Type: application/json
User-Agent: HTTPie/3.2.2
{
"draft_order": {
"applied_discount": {
"amount": 16,
"description": "Shopee Transaction Fee: 5, Shopee Commission Fee: 11",
"title": "Shopee Transaction Fee, Shopee Commission Fee",
"value": 16,
"value_type": "fixed_amount"
},
"line_items": [
{
"price": 107,
"quantity": 1,
"requires_shipping": true,
"title": "Bundaberg Guava Sparkling Drink 375mL (Not found on Shopify)"
},
{
"price": 104,
"quantity": 1,
"requires_shipping": true,
"title": "Bundaberg Traditional Lemonade Brewed Drinks 375mL (Not found on Shopify)"
}
],
"shipping_line": {
"custom": true,
"price": 5,
"title": "Shopee"
},
"tags": "shopee"
}
}
Response
HTTP/1.1 422 Unprocessable Entity
{
"errors": {
"base": [
"The currency you selected is no longer available. All prices are now in PHP."
]
}
}