Einleitung

                                    curl -X 'POST' \
                                    'https://reseller.bennetg.de/api/products' \
                                    -H 'accept: */*' \
                                    -H 'Content-Type: application/json' \
                                    -d '{
                                    "withModule": false,
                                    "withThemes": false,
                                    "secret": "s-57eb5640-d600-4860-add5-f3ee5dc54f1a"
                                  }'
                                

                                    {
                                        "count": 1,
                                        "items": [
                                          {
                                            "id": 1,
                                            "name": "text",
                                            "description": "text",
                                            "shortDescription": "text",
                                            "productType": "Main",
                                            "price": {
                                              "normalPrice": "39.99",
                                              "hasDiscount": true,
                                              "price": "29.99"
                                            },
                                            "relatedProduct": null
                                          }
                                        ]
                                    }
                                


                                    curl -X 'POST' \
                                        'https://reseller.bennetg.de/api/products/1' \
                                        -H 'accept: */*' \
                                        -H 'Content-Type: application/json' \
                                        -d '{
                                        "withModule": true,
                                        "withThemes": true,
                                        "secret": "s-57eb5640-d600-4860-add5-f3ee5dc54f1a"
                                    }'
                                


                                    curl -X 'POST' \
                                        'http://localhost:3000/deals/init' \
                                        -H 'accept: */*' \
                                        -H 'Content-Type: application/json' \
                                        -d '{
                                            "publicKey": "p-96eb136c-86b9-45c6-b6bb-ac6b79964925",
                                            "privateKey": "s-57eb5640-d600-4860-add5-f3ee5dc54f1a",
                                            "customer": {
                                                "firstname": "Bennet",
                                                "lastname": "Gallein",
                                                "email": "me@bennetgallein.de",
                                                "address": {
                                                    "street": "Elbinger Str.",
                                                    "streetNumber": "15",
                                                    "zipcode": "21339",
                                                    "city": "Lueneburg",
                                                    "country": "DE"
                                                }
                                            },
                                            "basket": {
                                                "items": [
                                                    {
                                                        "productId": 1,
                                                        "licenseIP": "127.0.0.1"
                                                    }
                                                ]
                                            },
                                            "paymentMethod": "paypal",
                                            "returnUrls": {
                                                "cancelUrl": "https://bennetgallein.de/cancel",
                                                "successUrl": "https://bennetgallein.de/success"
                                            }
                                        }'
                                

                                    {
                                        "basketAmount": 60,
                                        "customer": {
                                          "firstname": "Bennet",
                                          "lastname": "Gallein",
                                          "email": "me@bennetgallein.de",
                                          "address": {
                                            "street": "Elbinger Str.",
                                            "streetNumber": "15",
                                            "zipcode": "21339",
                                            "city": "Lueneburg",
                                            "country": "DE"
                                          }
                                        },
                                        "paymentUrl": "https://www.sandbox.paypal.com/checkoutnow?token=xxx",
                                        "paymentId": "ff3b8997-9bf2-42e1-878f-86edb3bd5180"
                                    }
                                
Key