In order to understand whether the customer has created a pre-order on your site, you need to send a verification request with the UUID of the 4th version created in advance for this order (raketa_order_uuid), which you passed to the iframe.

SERVER_HOST:

Prod: https://server.raketa.city

Dev: https://dev-server.raketa.city

Make a request using the POST method to the link:

{SERVER_HOST}/api-gate/v0/deliveries/check-raketa-order-uuid

Headers:

-header 'Authorization: JWT {Token}' \\
-header 'Content-Type: application/json' \\

Body:

{
   "raketa_order_uuid": "16e00878-ec97-4e28-8ec4-0dcd05dd3152"
}

Response:

Status: 200 Ok

Data:

{ 
	"detail": "Ok",
	"order": {
    "id": 171,
    "merchant_order_id": "",
    "product_name": "iPhone XR;Macbook Pro 15;Apple Air Tag",
    "status": 1,
    "price": 1135,
    "merchant_waiting_price": 0,
    "customer_waiting_price": 0,
    "extra_info": "",
    "tracking_short_link": "",
    "courier_name": "",
    "courier_phone": "",
    "was_returned": false,
    "callback_url": "",
    "raketa_order_uuid": "16e00878-ec97-4e28-8ec4-0dcd05dd3152",
    "from": {
        "address": {
            "extra_info": "Good address!!!!",
            "city": "",
            "street": "Nauryzbay batyr",
            "building": "17/D",
            "apartment": "",
            "entrance": "",
            "floor": "",
            "intercom": "",
            "longitude": 76.881544,
            "latitude": 43.22638,
            "geo_object": "{\\"metaDataProperty\\": {\\"GeocoderMetaData\\": {\\"precision\\": \\"exact\\", \\"text\\": \\"Казахстан, Алматы, улица Байзакова, 280\\", \\"kind\\": \\"house\\", \\"Address\\": {\\"country_code\\": \\"KZ\\", \\"formatted\\": \\"Казахстан, Алматы, улица Байзакова, 280\\", \\"Components\\": [{\\"kind\\": \\"country\\", \\"name\\": \\"Казахстан\\"}, {\\"kind\\": \\"province\\", \\"name\\": \\"Алматы\\"}, {\\"kind\\": \\"locality\\", \\"name\\": \\"Алматы\\"},{\\"kind\\": \\"street\\", \\"name\\": \\"улица Байзакова\\"}, {\\"kind\\": \\"house\\", \\"name\\": \\"280\\"}]}, \\"AddressDetails\\": { \\"Country\\": {\\"AddressLine\\": \\"Казахстан, Алматы, улица Байзакова, 280\\", \\"CountryNameCode\\": \\"KZ\\", \\"CountryName\\": \\"Казахстан\\", \\"AdministrativeArea\\": {\\"AdministrativeAreaName\\": \\"Алматы\\",\\"Locality\\": {\\"LocalityName\\": \\"Алматы\\", \\"Thoroughfare\\": { \\"ThoroughfareName\\": \\"улица Байзакова\\", \\"Premise\\": {\\"PremiseNumber\\": \\"280\\"}}}}}}}},\\"description\\": \\"Алматы, Казахстан\\", \\"name\\": \\"улица Байзакова, 280\\",\\"boundedBy\\": {\\"Envelope\\": {\\"lowerCorner\\": \\"76.910943 43.234234\\", \\"upperCorner\\": \\"76.919154 43.240237\\"}},\\"Point\\": {\\"pos\\": \\"76.915048 43.237235\\"}, \\"uriMetaData\\": {\\"URIs\\": [{\\"uri\\": \\"ymapsbm1://geo?ll=76.915%2C43.237&spn=0.001%2C0.001&text=%D2%9A%D0%B0%D0%B7%D0%B0%D2%9B%D1%81%D1%82%D0%B0%D0%BD%2C%20%D0%90%D0%BB%D0%BC%D0%B0%D1%82%D1%8B%2C%20%D0%91%D0%B0%D0%B9%D0%B7%D0%B0%D2%9B%D0%BE%D0%B2%20%D0%BA%D3%A9%D1%88%D0%B5%D1%81%D1%96%2C%20280\\"}],\\"URI\\": {\\"uri\\": \\"ymapsbm1://geo?ll=76.915%2C43.237&spn=0.001%2C0.001&text=%D2%9A%D0%B0%D0%B7%D0%B0%D2%9B%D1%81%D1%82%D0%B0%D0%BD%2C%20%D0%90%D0%BB%D0%BC%D0%B0%D1%82%D1%8B%2C%20%D0%91%D0%B0%D0%B9%D0%B7%D0%B0%D2%9B%D0%BE%D0%B2%20%D0%BA%D3%A9%D1%88%D0%B5%D1%81%D1%96%2C%20280\\"}}}"
        },
        "contact_name": "XOJIODNJIHNK #777 / 3",
        "phone_number": "+77076013366",
        "order_picking_time": 0,
        "id": 431
    },
    "to": {
        "address": {
            "extra_info": "",
            "city": "",
            "street": "Женис 173/2",
            "building": "17",
            "apartment": "",
            "entrance": "",
            "floor": "",
            "intercom": "",
            "longitude": 76.915048,
            "latitude": 43.237235,
            "geo_object": "{\\"metaDataProperty\\": {\\"GeocoderMetaData\\": {\\"precision\\": \\"exact\\", \\"text\\": \\"Казахстан, Алматы, улица Байзакова, 280\\", \\"kind\\": \\"house\\", \\"Address\\": {\\"country_code\\": \\"KZ\\", \\"formatted\\": \\"Казахстан, Алматы, улица Байзакова, 280\\", \\"Components\\": [{\\"kind\\": \\"country\\", \\"name\\": \\"Казахстан\\"}, {\\"kind\\": \\"province\\", \\"name\\": \\"Алматы\\"}, {\\"kind\\": \\"locality\\", \\"name\\": \\"Алматы\\"},{\\"kind\\": \\"street\\", \\"name\\": \\"улица Байзакова\\"}, {\\"kind\\": \\"house\\", \\"name\\": \\"280\\"}]}, \\"AddressDetails\\": { \\"Country\\": {\\"AddressLine\\": \\"Казахстан, Алматы, улица Байзакова, 280\\", \\"CountryNameCode\\": \\"KZ\\", \\"CountryName\\": \\"Казахстан\\", \\"AdministrativeArea\\": {\\"AdministrativeAreaName\\": \\"Алматы\\",\\"Locality\\": {\\"LocalityName\\": \\"Алматы\\", \\"Thoroughfare\\": { \\"ThoroughfareName\\": \\"улица Байзакова\\", \\"Premise\\": {\\"PremiseNumber\\": \\"280\\"}}}}}}}},\\"description\\": \\"Алматы, Казахстан\\", \\"name\\": \\"улица Байзакова, 280\\",\\"boundedBy\\": {\\"Envelope\\": {\\"lowerCorner\\": \\"76.910943 43.234234\\", \\"upperCorner\\": \\"76.919154 43.240237\\"}},\\"Point\\": {\\"pos\\": \\"76.715048 43.237235\\"}, \\"uriMetaData\\": {\\"URIs\\": [{\\"uri\\": \\"ymapsbm1://geo?ll=76.915%2C43.237&spn=0.001%2C0.001&text=%D2%9A%D0%B0%D0%B7%D0%B0%D2%9B%D1%81%D1%82%D0%B0%D0%BD%2C%20%D0%90%D0%BB%D0%BC%D0%B0%D1%82%D1%8B%2C%20%D0%91%D0%B0%D0%B9%D0%B7%D0%B0%D2%9B%D0%BE%D0%B2%20%D0%BA%D3%A9%D1%88%D0%B5%D1%81%D1%96%2C%20280\\"}],\\"URI\\": {\\"uri\\": \\"ymapsbm1://geo?ll=76.915%2C43.237&spn=0.001%2C0.001&text=%D2%9A%D0%B0%D0%B7%D0%B0%D2%9B%D1%81%D1%82%D0%B0%D0%BD%2C%20%D0%90%D0%BB%D0%BC%D0%B0%D1%82%D1%8B%2C%20%D0%91%D0%B0%D0%B9%D0%B7%D0%B0%D2%9B%D0%BE%D0%B2%20%D0%BA%D3%A9%D1%88%D0%B5%D1%81%D1%96%2C%20280\\"}}}"
        },
        "contact_name": "Vasya Ivanov",
        "phone_number": "+77076012246",
        "id": 445
    },
    "sms_code": null,
    "tracking_uuid": "None"
	}	
}