Happening now! Exclusive AMA: Streamlining Fulfillment and Delivery with Shopify Experts | Ask your questions to be answered by our team!

Re: Cannot create order because of "The currency you selected is no longer available. All price

Cannot create order because of "The currency you selected is no longer available. All prices ..."

sengming
Shopify Partner
52 1 9

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."

        ]

    }

}
```

Reply 1 (1)

marcreese
Shopify Partner
12 0 2

Hey there,

Did you find a solution / fix?

I have exactly the same problem.

Id: b711f2b0-4478-451c-a728-0b7eb02e90b6-1719304530

Please Shopify help 🙏