curl --http1.0 "https://smartboticsapptest.api2.myshoprenter.hu/api/orderStatusDescriptions/b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x" --header "Accept: application/json" --header "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIyZDYyYTIwZDQwNjIwZjk1NTczZGVjNmEiLCJqdGkiOiI1ZDZkMzYxM2U3MmI5ZTMwNjNjNDJkYjVhNTk0YjgyZTdmYjJhZDVmYThlY2NkM2Q3NThiYzIzNmFlOTRlMjQ5ODYyNjFiNGY0ODdiNWFmMiIsImlhdCI6MTc2NDY2MjQwMS42MDAwMDEsIm5iZiI6MTc2NDY2MjQwMS42MDAwMDEsInNzb190b2tlbiI6bnVsbCwiZXhwIjoxNzY0NjY2MDA0LjU5NTkyMywic2NvcGVzIjpbImN1c3RvbWVyLmN1c3RvbWVyOnJlYWQiLCJjdXN0b21lci5jdXN0b21lcjp3cml0ZSIsIm9yZGVyLm9yZGVyOnJlYWQiLCJvcmRlci5vcmRlcjp3cml0ZSIsInByb2R1Y3QuY2F0ZWdvcnk6cmVhZCIsInByb2R1Y3QucHJvZHVjdDpyZWFkIiwicHJvZHVjdC5wcm9kdWN0OndyaXRlIiwic3RvcmUud2ViaG9vazpyZWFkIiwic3RvcmUud2ViaG9vazp3cml0ZSIsIm9yZGVyLnN0YXR1czpyZWFkIiwic3RvcmUuZG9tYWluOnJlYWQiLCJzdG9yZS5zZXR0aW5nOnJlYWQiXSwic2hvcE5hbWUiOiJzbWFydGJvdGljc2FwcHRlc3QiLCJyZWFsbSI6InNtYXJ0Ym90aWNzYXBwdGVzdCJ9.S6_B7OEM6Vh4kW6kuIwm-DkLCEwKyt5ZpRaBRxbfws6QATDSYq5BU6UFnkGd2QAqhyTno7buGsIkZdcHUtBgrbKVrN3AKPN-6QFCK5J7wUAA0yZje5qqEGqT4WxlJsQp8CkQKafyt5MR1iFOH526WekHrffL5pH8mhktNJJCwlBeaGwSuWDbDlgCd8vL1VZWKbgkXYIMW17DGub1g5h3MZvkOMpOS07jyNk6Sc3im7Qu1-28RBoKtO1TQNU_CVTbgZyy3_CR831x459Iwdv-e61xjEhzpInfw0ppCUA6g83Ece33qJIEqfYiNgZ8ruBslT2_hvG3Kf6F7QatdadpN6gPmTgkbbbDDVoOsyAdxxdP7-39RvetyX23xywilSNDm_vC3fZXEuii_dEnVpH4MZtZ1Pcgs3mqgnBOgxKC4XSPUXtBsFvieZK8xgk7SxGqxJ-yOg8LSNsgXPmSESArCtrTDTkxDisACKRtMm8Mxc24Ypn0AJxTiClnhEux_nTFVlqdDI_p_8shERu2SZhEwgkykFWNFOMeMSywMCZ5ZyEwVr6fX-NKKJhmj1QBTFNs33yj9IpXGjF-hx1a8W2Su1nAwOqeuf4UIlJ9oykvbNwoqsP6wXfOafQROIzQwaJQPnrMOfcQL4AFTE5QJgc7NegV2b0cxd-71VENmFzXOrA"

Response:

{
  "href": "http://smartboticsapptest.api.myshoprenter.hu/orderStatusDescriptions/b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x",
  "id": "b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x",
  "name": "Függőben lévő",
  "color": "#ff00ff",
  "orderStatus": {
    "href": "http://smartboticsapptest.api.myshoprenter.hu/orderStatuses/b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE="
  },
  "language": {
    "href": "http://smartboticsapptest.api.myshoprenter.hu/languages/bGFuZ3VhZ2UtbGFuZ3VhZ2VfaWQ9MQ=="
  }
}



orderStatus from an order:

      },
      "orderStatus": {
        "href": "http://smartboticsapptest.api.myshoprenter.hu/orderStatuses/b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE="
      },
      
      
Where the id (b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE=)

$ echo "b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE=" | base64 --decode
$ orderStatus-order_status_id=1

In the **orderStatusDescriptions**/b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x

The id: 

$ echo "b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x" | base64 --decode
$ orderStatusDescription-order_status_id=1&language_id=1

So we can get the status id from the orders using base64 
First, get the base64 from the url from the order json:
      },
      "orderStatus": {
        "href": "http://smartboticsapptest.api.myshoprenter.hu/orderStatuses/b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE="
      },
      
b3JkZXJTdGF0dXMtb3JkZXJfc3RhdHVzX2lkPTE= -> orderStatus-order_status_id=1

Then get the description, we need to modify the string from the orderStatus to description
echo "orderStatusDescription-order_status_id=1&language_id=1" | base64 --encode 

Then call the api:

curl --http1.0 "https://smartboticsapptest.api2.myshoprenter.hu/api/orderStatusDescriptions/b3JkZXJTdGF0dXNEZXNjcmlwdGlvbi1vcmRlcl9zdGF0dXNfaWQ9MSZsYW5ndWFnZV9pZD0x" --header "Accept: application/json" --header "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIyZDYyYTIwZDQwNjIwZjk1NTczZGVjNmEiLCJqdGkiOiI1ZDZkMzYxM2U3MmI5ZTMwNjNjNDJkYjVhNTk0YjgyZTdmYjJhZDVmYThlY2NkM2Q3NThiYzIzNmFlOTRlMjQ5ODYyNjFiNGY0ODdiNWFmMiIsImlhdCI6MTc2NDY2MjQwMS42MDAwMDEsIm5iZiI6MTc2NDY2MjQwMS42MDAwMDEsInNzb190b2tlbiI6bnVsbCwiZXhwIjoxNzY0NjY2MDA0LjU5NTkyMywic2NvcG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QwaJQPnrMOfcQL4AFTE5QJgc7NegV2b0cxd-71VENmFzXOrA"



Take care! The urls in all shoprenter responses using wrong url. Do not modify our already implemented shoprenter client, the implementation uses the good url. 
