Shopify required parameter missing or invalid

curl -X PUT \
  -H "X-Shopify-Access-Token: YOUR_API_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "tags": ["tag1", "tag2", "tag3"]
  }' \
  https://momdaughts.myshopify.com/admin/api/2023-10/orders/md2829.json

This sends an error message “Shopify required parameter missing or invalid”, even though I’m inputting all the required parameters for put request (api_version=2023-10, and order_id=2829)

It looks like the issue might be with the format of the order ID in your request URL. The order ID in Shopify is typically numeric, without any letters or special characters. Based on your example, it seems you might be using an incorrect format for the order ID.

To find an example of a correct order ID, you can simply open any order in your Shopify admin panel. At the end of the URL for the order page, you’ll find the numeric order ID. For instance, if the URL ends with something like “/orders/5431920225581”, then “5431920225581” is your order ID.

Try replacing “md2829” in your URL with a purely numeric order ID like the example given. This should resolve the “required parameter missing or invalid” error. Make sure to double-check the rest of your request structure as well, including headers and JSON body, to ensure everything is correctly formatted.