@epilot/pricing-client 3.17.8 → 3.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +22 -0
- package/dist/openapi.d.ts +142 -169
- package/dist/openapi.json +262 -676
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -918,7 +918,7 @@
|
|
|
918
918
|
},
|
|
919
919
|
"/v1/public/integration/{integrationId}/streets:search": {
|
|
920
920
|
"post": {
|
|
921
|
-
"description": "Returns the list of streets available for a given
|
|
921
|
+
"description": "Returns the list of streets available for a given postal code and city",
|
|
922
922
|
"operationId": "$searchStreets",
|
|
923
923
|
"security": [],
|
|
924
924
|
"parameters": [
|
|
@@ -1011,6 +1011,119 @@
|
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
1013
1013
|
},
|
|
1014
|
+
"/v1/public/integration/{integrationId}/compute-price": {
|
|
1015
|
+
"post": {
|
|
1016
|
+
"description": "Returns the price for a given product type based on location and consumption",
|
|
1017
|
+
"operationId": "$computePrice",
|
|
1018
|
+
"security": [],
|
|
1019
|
+
"parameters": [
|
|
1020
|
+
{
|
|
1021
|
+
"in": "header",
|
|
1022
|
+
"name": "X-Epilot-Org-ID",
|
|
1023
|
+
"description": "The target Organization Id represented by the caller",
|
|
1024
|
+
"schema": {
|
|
1025
|
+
"type": "string"
|
|
1026
|
+
},
|
|
1027
|
+
"required": true,
|
|
1028
|
+
"example": 739224
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"in": "path",
|
|
1032
|
+
"name": "integrationId",
|
|
1033
|
+
"description": "The integration identifier",
|
|
1034
|
+
"schema": {
|
|
1035
|
+
"$ref": "#/components/schemas/IntegrationId"
|
|
1036
|
+
},
|
|
1037
|
+
"required": true,
|
|
1038
|
+
"example": "getag"
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
1041
|
+
"summary": "computePrice",
|
|
1042
|
+
"tags": [
|
|
1043
|
+
"External Integrations API"
|
|
1044
|
+
],
|
|
1045
|
+
"requestBody": {
|
|
1046
|
+
"content": {
|
|
1047
|
+
"application/json": {
|
|
1048
|
+
"schema": {
|
|
1049
|
+
"$ref": "#/components/schemas/ComputePriceParams"
|
|
1050
|
+
},
|
|
1051
|
+
"examples": {
|
|
1052
|
+
"Compute price": {
|
|
1053
|
+
"value": {
|
|
1054
|
+
"type": "power",
|
|
1055
|
+
"billing_period": "monthly",
|
|
1056
|
+
"postal_code": "04109",
|
|
1057
|
+
"consumption": 3500,
|
|
1058
|
+
"association_id": "123456789"
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1065
|
+
"responses": {
|
|
1066
|
+
"200": {
|
|
1067
|
+
"description": "The compute price response payload",
|
|
1068
|
+
"content": {
|
|
1069
|
+
"application/json": {
|
|
1070
|
+
"schema": {
|
|
1071
|
+
"$ref": "#/components/schemas/ComputePriceResult"
|
|
1072
|
+
},
|
|
1073
|
+
"examples": {
|
|
1074
|
+
"Response of computed price": {
|
|
1075
|
+
"value": {
|
|
1076
|
+
"amount_total": 100,
|
|
1077
|
+
"amount_total_decimal": "100.00",
|
|
1078
|
+
"amount_static": 500,
|
|
1079
|
+
"amount_static_decimal": "50.00",
|
|
1080
|
+
"amount_variable": 500,
|
|
1081
|
+
"amount_variable_decimal": "50.00",
|
|
1082
|
+
"currency": "EUR",
|
|
1083
|
+
"billing_period": "monthly",
|
|
1084
|
+
"breakdown": {
|
|
1085
|
+
"static": {
|
|
1086
|
+
"maintenance_fee": {
|
|
1087
|
+
"amount": 50,
|
|
1088
|
+
"amount_decimal": "50.00"
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
"variable": {
|
|
1092
|
+
"offshore_liability_fee": {
|
|
1093
|
+
"amount": 50,
|
|
1094
|
+
"amount_decimal": "50.00"
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
"400": {
|
|
1105
|
+
"description": "Invalid payload",
|
|
1106
|
+
"content": {
|
|
1107
|
+
"application/json": {
|
|
1108
|
+
"schema": {
|
|
1109
|
+
"$ref": "#/components/schemas/Error"
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
1114
|
+
"403": {
|
|
1115
|
+
"description": "Forbidden, no credentials found for the given integration / organization",
|
|
1116
|
+
"content": {
|
|
1117
|
+
"application/json": {
|
|
1118
|
+
"schema": {
|
|
1119
|
+
"$ref": "#/components/schemas/Error"
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1014
1127
|
"/v1/integration/{integrationId}/credentials": {
|
|
1015
1128
|
"get": {
|
|
1016
1129
|
"description": "Gets the credentials for a given integration / organization",
|
|
@@ -2489,6 +2602,147 @@
|
|
|
2489
2602
|
"SaveIntegrationCredentialsParams": {
|
|
2490
2603
|
"$ref": "#/components/schemas/BasicAuthCredentials"
|
|
2491
2604
|
},
|
|
2605
|
+
"ComputePriceParams": {
|
|
2606
|
+
"description": "The compute price payload",
|
|
2607
|
+
"type": "object",
|
|
2608
|
+
"properties": {
|
|
2609
|
+
"postal_code": {
|
|
2610
|
+
"description": "The postal code to search for providers",
|
|
2611
|
+
"type": "string"
|
|
2612
|
+
},
|
|
2613
|
+
"consumption": {
|
|
2614
|
+
"description": "The monthly consumption to compute the price in kWh",
|
|
2615
|
+
"type": "number"
|
|
2616
|
+
},
|
|
2617
|
+
"association_id": {
|
|
2618
|
+
"description": "The association id",
|
|
2619
|
+
"type": "string"
|
|
2620
|
+
},
|
|
2621
|
+
"type": {
|
|
2622
|
+
"description": "The product type",
|
|
2623
|
+
"type": "string",
|
|
2624
|
+
"enum": [
|
|
2625
|
+
"power",
|
|
2626
|
+
"gas"
|
|
2627
|
+
]
|
|
2628
|
+
},
|
|
2629
|
+
"billing_period": {
|
|
2630
|
+
"description": "The billing period (defaults to monthly)",
|
|
2631
|
+
"type": "string",
|
|
2632
|
+
"enum": [
|
|
2633
|
+
"weekly",
|
|
2634
|
+
"monthly",
|
|
2635
|
+
"every_quarter",
|
|
2636
|
+
"every_6_months",
|
|
2637
|
+
"yearly",
|
|
2638
|
+
"one_time"
|
|
2639
|
+
],
|
|
2640
|
+
"default": "monthly"
|
|
2641
|
+
}
|
|
2642
|
+
},
|
|
2643
|
+
"required": [
|
|
2644
|
+
"type",
|
|
2645
|
+
"postal_code",
|
|
2646
|
+
"consumption"
|
|
2647
|
+
]
|
|
2648
|
+
},
|
|
2649
|
+
"ComputedBasePrice": {
|
|
2650
|
+
"type": "object",
|
|
2651
|
+
"description": "The computed price",
|
|
2652
|
+
"properties": {
|
|
2653
|
+
"amount": {
|
|
2654
|
+
"description": "The computed price",
|
|
2655
|
+
"type": "number"
|
|
2656
|
+
},
|
|
2657
|
+
"amount_decimal": {
|
|
2658
|
+
"description": "The computed price as decimal",
|
|
2659
|
+
"type": "string"
|
|
2660
|
+
}
|
|
2661
|
+
},
|
|
2662
|
+
"required": [
|
|
2663
|
+
"amount",
|
|
2664
|
+
"amount_decimal"
|
|
2665
|
+
]
|
|
2666
|
+
},
|
|
2667
|
+
"ComputedPriceBreakdown": {
|
|
2668
|
+
"type": "object",
|
|
2669
|
+
"description": "Price breakdown",
|
|
2670
|
+
"properties": {
|
|
2671
|
+
"static": {
|
|
2672
|
+
"description": "The static price breakdown",
|
|
2673
|
+
"$ref": "#/components/schemas/ComputedPriceComponents"
|
|
2674
|
+
},
|
|
2675
|
+
"variable": {
|
|
2676
|
+
"description": "The variable price breakdown",
|
|
2677
|
+
"$ref": "#/components/schemas/ComputedPriceComponents"
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2680
|
+
},
|
|
2681
|
+
"ComputedPriceComponents": {
|
|
2682
|
+
"type": "object",
|
|
2683
|
+
"description": "The computed price components",
|
|
2684
|
+
"additionalProperties": {
|
|
2685
|
+
"$ref": "#/components/schemas/ComputedBasePrice"
|
|
2686
|
+
}
|
|
2687
|
+
},
|
|
2688
|
+
"ComputePriceResult": {
|
|
2689
|
+
"type": "object",
|
|
2690
|
+
"properties": {
|
|
2691
|
+
"amount_total": {
|
|
2692
|
+
"description": "The computed total price",
|
|
2693
|
+
"type": "number"
|
|
2694
|
+
},
|
|
2695
|
+
"amount_total_decimal": {
|
|
2696
|
+
"description": "The computed total price as decimal",
|
|
2697
|
+
"type": "string"
|
|
2698
|
+
},
|
|
2699
|
+
"amount_static": {
|
|
2700
|
+
"description": "The computed static price",
|
|
2701
|
+
"type": "number"
|
|
2702
|
+
},
|
|
2703
|
+
"amount_static_decimal": {
|
|
2704
|
+
"description": "The computed static price as decimal"
|
|
2705
|
+
},
|
|
2706
|
+
"amount_variable": {
|
|
2707
|
+
"description": "The computed variable price",
|
|
2708
|
+
"type": "number"
|
|
2709
|
+
},
|
|
2710
|
+
"amount_variable_decimal": {
|
|
2711
|
+
"description": "The computed variable price as decimal",
|
|
2712
|
+
"type": "string"
|
|
2713
|
+
},
|
|
2714
|
+
"currency": {
|
|
2715
|
+
"description": "The currency of the computed price (three-letter ISO currency code)",
|
|
2716
|
+
"oneOf": [
|
|
2717
|
+
{
|
|
2718
|
+
"$ref": "#/components/schemas/Currency"
|
|
2719
|
+
}
|
|
2720
|
+
]
|
|
2721
|
+
},
|
|
2722
|
+
"billing_period": {
|
|
2723
|
+
"description": "The billing period",
|
|
2724
|
+
"type": "string",
|
|
2725
|
+
"enum": [
|
|
2726
|
+
"weekly",
|
|
2727
|
+
"monthly",
|
|
2728
|
+
"every_quarter",
|
|
2729
|
+
"every_6_months",
|
|
2730
|
+
"yearly",
|
|
2731
|
+
"one_time"
|
|
2732
|
+
]
|
|
2733
|
+
},
|
|
2734
|
+
"breakdown": {
|
|
2735
|
+
"$ref": "#/components/schemas/ComputedPriceBreakdown"
|
|
2736
|
+
}
|
|
2737
|
+
},
|
|
2738
|
+
"required": [
|
|
2739
|
+
"amount_total",
|
|
2740
|
+
"amount_total_decimal",
|
|
2741
|
+
"currency",
|
|
2742
|
+
"billing_period",
|
|
2743
|
+
"breakdown"
|
|
2744
|
+
]
|
|
2745
|
+
},
|
|
2492
2746
|
"BasicAuthCredentials": {
|
|
2493
2747
|
"description": "The basic auth credentials",
|
|
2494
2748
|
"type": "object",
|
|
@@ -2545,13 +2799,13 @@
|
|
|
2545
2799
|
"description": "The street entity",
|
|
2546
2800
|
"type": "object",
|
|
2547
2801
|
"properties": {
|
|
2548
|
-
"
|
|
2802
|
+
"street": {
|
|
2549
2803
|
"description": "The street name",
|
|
2550
2804
|
"type": "string"
|
|
2551
2805
|
}
|
|
2552
2806
|
},
|
|
2553
2807
|
"required": [
|
|
2554
|
-
"
|
|
2808
|
+
"street"
|
|
2555
2809
|
]
|
|
2556
2810
|
},
|
|
2557
2811
|
"ValidateAvailabilityFileResult": {
|
|
@@ -2952,63 +3206,6 @@
|
|
|
2952
3206
|
"amount_total_decimal"
|
|
2953
3207
|
]
|
|
2954
3208
|
},
|
|
2955
|
-
"Cart": {
|
|
2956
|
-
"description": "Supports shopping for products and services until ready for checkout.",
|
|
2957
|
-
"allOf": [
|
|
2958
|
-
{
|
|
2959
|
-
"$ref": "#/components/schemas/Amounts"
|
|
2960
|
-
}
|
|
2961
|
-
],
|
|
2962
|
-
"properties": {
|
|
2963
|
-
"id": {
|
|
2964
|
-
"type": "string",
|
|
2965
|
-
"description": "The cart identifier"
|
|
2966
|
-
},
|
|
2967
|
-
"org_id": {
|
|
2968
|
-
"type": "string",
|
|
2969
|
-
"description": "The user's Organization Id the cart belongs to",
|
|
2970
|
-
"readOnly": true
|
|
2971
|
-
},
|
|
2972
|
-
"status": {
|
|
2973
|
-
"enum": [
|
|
2974
|
-
"open",
|
|
2975
|
-
"complete",
|
|
2976
|
-
"expired"
|
|
2977
|
-
],
|
|
2978
|
-
"type": "string",
|
|
2979
|
-
"readOnly": true,
|
|
2980
|
-
"description": "The status of the Cart:\n- open - the cart checkout is still in progress. Payment processing has not started\n- complete - the cart checkout is complete. Payment processing may still be in progress\n- expired - the cart checkout has expired. No further processing will occur\n"
|
|
2981
|
-
},
|
|
2982
|
-
"customer": {
|
|
2983
|
-
"$ref": "#/components/schemas/Customer"
|
|
2984
|
-
},
|
|
2985
|
-
"billing_address": {
|
|
2986
|
-
"$ref": "#/components/schemas/Address"
|
|
2987
|
-
},
|
|
2988
|
-
"delivery_address": {
|
|
2989
|
-
"$ref": "#/components/schemas/Address"
|
|
2990
|
-
},
|
|
2991
|
-
"metadata": {
|
|
2992
|
-
"$ref": "#/components/schemas/MetaData"
|
|
2993
|
-
},
|
|
2994
|
-
"line_items": {
|
|
2995
|
-
"$ref": "#/components/schemas/PriceItems"
|
|
2996
|
-
},
|
|
2997
|
-
"total_details": {
|
|
2998
|
-
"$ref": "#/components/schemas/TotalDetails"
|
|
2999
|
-
},
|
|
3000
|
-
"created_at": {
|
|
3001
|
-
"readOnly": true,
|
|
3002
|
-
"type": "string",
|
|
3003
|
-
"format": "date-time"
|
|
3004
|
-
},
|
|
3005
|
-
"updated_at": {
|
|
3006
|
-
"readOnly": true,
|
|
3007
|
-
"type": "string",
|
|
3008
|
-
"format": "date-time"
|
|
3009
|
-
}
|
|
3010
|
-
}
|
|
3011
|
-
},
|
|
3012
3209
|
"Currency": {
|
|
3013
3210
|
"type": "string",
|
|
3014
3211
|
"description": "Three-letter ISO currency code, in lowercase. Must be a supported currency.\nISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html\n",
|
|
@@ -3403,60 +3600,18 @@
|
|
|
3403
3600
|
"amount_total_decimal"
|
|
3404
3601
|
]
|
|
3405
3602
|
},
|
|
3406
|
-
"
|
|
3603
|
+
"TotalDetails": {
|
|
3407
3604
|
"type": "object",
|
|
3408
|
-
"description": "
|
|
3605
|
+
"description": "The total details with tax (and discount) aggregated totals.",
|
|
3409
3606
|
"readOnly": true,
|
|
3410
3607
|
"properties": {
|
|
3411
|
-
"
|
|
3412
|
-
"type": "string",
|
|
3413
|
-
"description": "The price type."
|
|
3414
|
-
},
|
|
3415
|
-
"billing_period": {
|
|
3416
|
-
"type": "string",
|
|
3417
|
-
"description": "The price billing period.",
|
|
3418
|
-
"enum": [
|
|
3419
|
-
"weekly",
|
|
3420
|
-
"monthly",
|
|
3421
|
-
"every_quarter",
|
|
3422
|
-
"every_6_months",
|
|
3423
|
-
"yearly"
|
|
3424
|
-
]
|
|
3425
|
-
},
|
|
3426
|
-
"amount_total": {
|
|
3427
|
-
"type": "integer",
|
|
3428
|
-
"description": "Total of all items after (discounts and) taxes are applied."
|
|
3429
|
-
},
|
|
3430
|
-
"amount_subtotal": {
|
|
3608
|
+
"amount_shipping": {
|
|
3431
3609
|
"type": "integer",
|
|
3432
|
-
"description": "
|
|
3610
|
+
"description": "This is the sum of all the price item shipping amounts."
|
|
3433
3611
|
},
|
|
3434
3612
|
"amount_tax": {
|
|
3435
3613
|
"type": "integer",
|
|
3436
|
-
"description": "
|
|
3437
|
-
},
|
|
3438
|
-
"tax": {
|
|
3439
|
-
"$ref": "#/components/schemas/TaxAmountBreakdown",
|
|
3440
|
-
"description": "Tax"
|
|
3441
|
-
}
|
|
3442
|
-
},
|
|
3443
|
-
"required": [
|
|
3444
|
-
"amount_total",
|
|
3445
|
-
"amount_subtotal"
|
|
3446
|
-
]
|
|
3447
|
-
},
|
|
3448
|
-
"TotalDetails": {
|
|
3449
|
-
"type": "object",
|
|
3450
|
-
"description": "The total details with tax (and discount) aggregated totals.",
|
|
3451
|
-
"readOnly": true,
|
|
3452
|
-
"properties": {
|
|
3453
|
-
"amount_shipping": {
|
|
3454
|
-
"type": "integer",
|
|
3455
|
-
"description": "This is the sum of all the price item shipping amounts."
|
|
3456
|
-
},
|
|
3457
|
-
"amount_tax": {
|
|
3458
|
-
"type": "integer",
|
|
3459
|
-
"description": "This is the sum of all the price item tax amounts."
|
|
3614
|
+
"description": "This is the sum of all the price item tax amounts."
|
|
3460
3615
|
},
|
|
3461
3616
|
"breakdown": {
|
|
3462
3617
|
"type": "object",
|
|
@@ -3483,63 +3638,11 @@
|
|
|
3483
3638
|
}
|
|
3484
3639
|
]
|
|
3485
3640
|
}
|
|
3486
|
-
},
|
|
3487
|
-
"recurrencesByTax": {
|
|
3488
|
-
"type": "array",
|
|
3489
|
-
"description": "The aggregated price items recurrences by tax rate.",
|
|
3490
|
-
"items": {
|
|
3491
|
-
"oneOf": [
|
|
3492
|
-
{
|
|
3493
|
-
"$ref": "#/components/schemas/RecurrenceAmountWithTax"
|
|
3494
|
-
}
|
|
3495
|
-
]
|
|
3496
|
-
}
|
|
3497
3641
|
}
|
|
3498
3642
|
}
|
|
3499
3643
|
}
|
|
3500
3644
|
}
|
|
3501
3645
|
},
|
|
3502
|
-
"PricingDetails": {
|
|
3503
|
-
"type": "object",
|
|
3504
|
-
"description": "The result from the calculation of a set of price items.",
|
|
3505
|
-
"properties": {
|
|
3506
|
-
"items": {
|
|
3507
|
-
"type": "array",
|
|
3508
|
-
"items": {
|
|
3509
|
-
"oneOf": [
|
|
3510
|
-
{
|
|
3511
|
-
"$ref": "#/components/schemas/PriceItem"
|
|
3512
|
-
},
|
|
3513
|
-
{
|
|
3514
|
-
"$ref": "#/components/schemas/CompositePriceItem"
|
|
3515
|
-
}
|
|
3516
|
-
]
|
|
3517
|
-
}
|
|
3518
|
-
},
|
|
3519
|
-
"amount_subtotal": {
|
|
3520
|
-
"type": "integer",
|
|
3521
|
-
"description": "Total of all items before (discounts or) taxes are applied."
|
|
3522
|
-
},
|
|
3523
|
-
"amount_total": {
|
|
3524
|
-
"type": "integer",
|
|
3525
|
-
"description": "Total of all items after (discounts and) taxes are applied."
|
|
3526
|
-
},
|
|
3527
|
-
"unit_amount_gross": {
|
|
3528
|
-
"type": "integer",
|
|
3529
|
-
"description": "The unit gross amount value."
|
|
3530
|
-
},
|
|
3531
|
-
"amount_tax": {
|
|
3532
|
-
"type": "integer",
|
|
3533
|
-
"description": "This is the sum of all the price item tax amounts."
|
|
3534
|
-
},
|
|
3535
|
-
"total_details": {
|
|
3536
|
-
"$ref": "#/components/schemas/TotalDetails"
|
|
3537
|
-
},
|
|
3538
|
-
"currency": {
|
|
3539
|
-
"$ref": "#/components/schemas/Currency"
|
|
3540
|
-
}
|
|
3541
|
-
}
|
|
3542
|
-
},
|
|
3543
3646
|
"BillingPeriod": {
|
|
3544
3647
|
"type": "string",
|
|
3545
3648
|
"enum": [
|
|
@@ -3583,23 +3686,6 @@
|
|
|
3583
3686
|
}
|
|
3584
3687
|
}
|
|
3585
3688
|
},
|
|
3586
|
-
"AvailabilityDate": {
|
|
3587
|
-
"type": "object",
|
|
3588
|
-
"properties": {
|
|
3589
|
-
"available_start_date": {
|
|
3590
|
-
"type": "string",
|
|
3591
|
-
"format": "date",
|
|
3592
|
-
"description": "The availability interval start date",
|
|
3593
|
-
"example": "2017-07-21"
|
|
3594
|
-
},
|
|
3595
|
-
"available_end_date": {
|
|
3596
|
-
"type": "string",
|
|
3597
|
-
"format": "date",
|
|
3598
|
-
"description": "The availability interval end date",
|
|
3599
|
-
"example": "2017-07-21"
|
|
3600
|
-
}
|
|
3601
|
-
}
|
|
3602
|
-
},
|
|
3603
3689
|
"AvailabilityFilters": {
|
|
3604
3690
|
"description": "Availability filters dimensions",
|
|
3605
3691
|
"type": "object",
|
|
@@ -3803,58 +3889,6 @@
|
|
|
3803
3889
|
"type": "string",
|
|
3804
3890
|
"format": "uuid"
|
|
3805
3891
|
},
|
|
3806
|
-
"EntityItem": {
|
|
3807
|
-
"type": "object",
|
|
3808
|
-
"properties": {
|
|
3809
|
-
"_id": {
|
|
3810
|
-
"$ref": "#/components/schemas/EntityId"
|
|
3811
|
-
},
|
|
3812
|
-
"_title": {
|
|
3813
|
-
"type": "string",
|
|
3814
|
-
"description": "Title of entity"
|
|
3815
|
-
},
|
|
3816
|
-
"_org": {
|
|
3817
|
-
"type": "string",
|
|
3818
|
-
"description": "Organization Id the entity belongs to"
|
|
3819
|
-
},
|
|
3820
|
-
"_schema": {
|
|
3821
|
-
"type": "string"
|
|
3822
|
-
},
|
|
3823
|
-
"_tags": {
|
|
3824
|
-
"type": "array",
|
|
3825
|
-
"items": {
|
|
3826
|
-
"type": "string"
|
|
3827
|
-
}
|
|
3828
|
-
},
|
|
3829
|
-
"_created_at": {
|
|
3830
|
-
"type": "string",
|
|
3831
|
-
"format": "date-time"
|
|
3832
|
-
},
|
|
3833
|
-
"_updated_at": {
|
|
3834
|
-
"type": "string",
|
|
3835
|
-
"format": "date-time"
|
|
3836
|
-
}
|
|
3837
|
-
},
|
|
3838
|
-
"required": [
|
|
3839
|
-
"_id",
|
|
3840
|
-
"_title",
|
|
3841
|
-
"_org",
|
|
3842
|
-
"_schema",
|
|
3843
|
-
"_created_at",
|
|
3844
|
-
"_updated_at"
|
|
3845
|
-
],
|
|
3846
|
-
"example": {
|
|
3847
|
-
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
3848
|
-
"_org": "123",
|
|
3849
|
-
"_schema": "contact",
|
|
3850
|
-
"_tags": [
|
|
3851
|
-
"example",
|
|
3852
|
-
"mock"
|
|
3853
|
-
],
|
|
3854
|
-
"_created_at": "2021-02-09T12:41:43.662Z",
|
|
3855
|
-
"_updated_at": "2021-02-09T12:41:43.662Z"
|
|
3856
|
-
}
|
|
3857
|
-
},
|
|
3858
3892
|
"EntityRelation": {
|
|
3859
3893
|
"type": "object",
|
|
3860
3894
|
"additionalProperties": true,
|
|
@@ -4006,12 +4040,6 @@
|
|
|
4006
4040
|
}
|
|
4007
4041
|
},
|
|
4008
4042
|
"examples": {
|
|
4009
|
-
"checkout-with-cart-id": {
|
|
4010
|
-
"value": {
|
|
4011
|
-
"mode": "create_order",
|
|
4012
|
-
"cart": "pZ324jnndf"
|
|
4013
|
-
}
|
|
4014
|
-
},
|
|
4015
4043
|
"checkout-with-transient-cart": {
|
|
4016
4044
|
"value": {
|
|
4017
4045
|
"mode": "create_order",
|
|
@@ -4705,448 +4733,6 @@
|
|
|
4705
4733
|
"_updated_at": "2022-06-03T16:29:46.303Z"
|
|
4706
4734
|
}
|
|
4707
4735
|
},
|
|
4708
|
-
"order-with-simple-prices-request": {
|
|
4709
|
-
"value": {
|
|
4710
|
-
"order_number": "OR 2022/742701",
|
|
4711
|
-
"status": "quote",
|
|
4712
|
-
"source": {
|
|
4713
|
-
"title": "manual",
|
|
4714
|
-
"href": null
|
|
4715
|
-
},
|
|
4716
|
-
"source_type": "manual",
|
|
4717
|
-
"_schema": "order",
|
|
4718
|
-
"_title": "OR 2022/742701",
|
|
4719
|
-
"expires_at": "2022-06-30T16:17:00.000Z",
|
|
4720
|
-
"line_items": [
|
|
4721
|
-
{
|
|
4722
|
-
"price_id": "9c36c23b-1574-4193-beff-b1b5e1124bc7",
|
|
4723
|
-
"product_id": "a7f4771a-6368-4d77-bb01-71f1e4902de5",
|
|
4724
|
-
"quantity": 16
|
|
4725
|
-
},
|
|
4726
|
-
{
|
|
4727
|
-
"price_id": "146aa2cc-f267-4d5e-bda4-cbe2669b7741",
|
|
4728
|
-
"product_id": "a7f4771a-6368-4d77-bb01-71f1e4902de5",
|
|
4729
|
-
"quantity": 4
|
|
4730
|
-
},
|
|
4731
|
-
{
|
|
4732
|
-
"price_id": "d88a8763-3e3d-4fc7-a7a5-2bc9117148bf",
|
|
4733
|
-
"product_id": "065d6618-cc59-45f4-8e3a-700edf6813c3",
|
|
4734
|
-
"quantity": 1
|
|
4735
|
-
},
|
|
4736
|
-
{
|
|
4737
|
-
"price_id": "e1ddf75a-d0d1-40b4-a07e-56e292867c88",
|
|
4738
|
-
"product_id": "5b9f05b7-f0f8-49c2-8a8d-0f8f923d6382",
|
|
4739
|
-
"quantity": 1
|
|
4740
|
-
}
|
|
4741
|
-
],
|
|
4742
|
-
"currency": "EUR",
|
|
4743
|
-
"payment_method": [
|
|
4744
|
-
{
|
|
4745
|
-
"type": "IBAN",
|
|
4746
|
-
"details": {}
|
|
4747
|
-
}
|
|
4748
|
-
],
|
|
4749
|
-
"billing_contact": {
|
|
4750
|
-
"$relation": [
|
|
4751
|
-
{
|
|
4752
|
-
"entity_id": "1834a54e-b68f-4f7f-a98a-fe16f11bc2a5",
|
|
4753
|
-
"_tags": []
|
|
4754
|
-
}
|
|
4755
|
-
]
|
|
4756
|
-
},
|
|
4757
|
-
"billing_first_name": "Joao",
|
|
4758
|
-
"billing_last_name": "Pinho",
|
|
4759
|
-
"billing_email": "j.pinho@epilot.cloud",
|
|
4760
|
-
"billing_company_name": "epilot cloud",
|
|
4761
|
-
"billing_address": [
|
|
4762
|
-
{
|
|
4763
|
-
"_tags": [],
|
|
4764
|
-
"street": "Im Media Park",
|
|
4765
|
-
"street_number": "8a",
|
|
4766
|
-
"postal_code": "52000",
|
|
4767
|
-
"city": "Cologne",
|
|
4768
|
-
"country": "DE",
|
|
4769
|
-
"additional_info": ""
|
|
4770
|
-
}
|
|
4771
|
-
],
|
|
4772
|
-
"delivery_address": [],
|
|
4773
|
-
"dates": [
|
|
4774
|
-
{
|
|
4775
|
-
"_tags": [
|
|
4776
|
-
"Instalation Date"
|
|
4777
|
-
],
|
|
4778
|
-
"dates": "",
|
|
4779
|
-
"value": "2022-06-30T16:29:00.000Z"
|
|
4780
|
-
}
|
|
4781
|
-
],
|
|
4782
|
-
"_id": "4c7c9562-f8f0-4af0-a3a6-6aebc5571a6e",
|
|
4783
|
-
"_org": "728",
|
|
4784
|
-
"_created_at": "2022-06-03T16:29:46.303Z",
|
|
4785
|
-
"_updated_at": "2022-06-03T16:29:46.303Z"
|
|
4786
|
-
}
|
|
4787
|
-
},
|
|
4788
|
-
"order-with-composite-prices": {
|
|
4789
|
-
"value": {
|
|
4790
|
-
"metadata": [
|
|
4791
|
-
{
|
|
4792
|
-
"key": "_origin",
|
|
4793
|
-
"value": "journey checkout"
|
|
4794
|
-
}
|
|
4795
|
-
],
|
|
4796
|
-
"_tags": [
|
|
4797
|
-
"journey",
|
|
4798
|
-
"automation"
|
|
4799
|
-
],
|
|
4800
|
-
"status": "quote",
|
|
4801
|
-
"order_number": "OREabZxnO",
|
|
4802
|
-
"billing_first_name": "Paulo",
|
|
4803
|
-
"billing_last_name": "Henriques",
|
|
4804
|
-
"billing_email": "ph@ph1.pt",
|
|
4805
|
-
"billing_address": [
|
|
4806
|
-
{
|
|
4807
|
-
"street": "Bernauer Str.",
|
|
4808
|
-
"street_number": "1",
|
|
4809
|
-
"city": "Berlin",
|
|
4810
|
-
"postal_code": "10115",
|
|
4811
|
-
"country": "DE",
|
|
4812
|
-
"additional_info": "1"
|
|
4813
|
-
}
|
|
4814
|
-
],
|
|
4815
|
-
"delivery_address": [
|
|
4816
|
-
{
|
|
4817
|
-
"street": "Bernauer Str.",
|
|
4818
|
-
"street_number": "1",
|
|
4819
|
-
"city": "Berlin",
|
|
4820
|
-
"postal_code": "10115",
|
|
4821
|
-
"country": "DE",
|
|
4822
|
-
"additional_info": "1"
|
|
4823
|
-
}
|
|
4824
|
-
],
|
|
4825
|
-
"payment_method": [
|
|
4826
|
-
{
|
|
4827
|
-
"type": "BankTransfer",
|
|
4828
|
-
"details": {
|
|
4829
|
-
"label": "Überweisung"
|
|
4830
|
-
}
|
|
4831
|
-
}
|
|
4832
|
-
],
|
|
4833
|
-
"currency": "EUR",
|
|
4834
|
-
"line_items": [
|
|
4835
|
-
{
|
|
4836
|
-
"product_id": "73f857a4-0fbc-4aa6-983f-87c0d6d410a6",
|
|
4837
|
-
"price_id": "c2a95ca9-7a50-41a4-a73c-b5fb1a57d40f",
|
|
4838
|
-
"quantity": 3,
|
|
4839
|
-
"currency": "EUR",
|
|
4840
|
-
"item_components": [
|
|
4841
|
-
{
|
|
4842
|
-
"price_id": "comp1-2a95ca9-7a50-41a4-a73c-b5fb1a57d40f",
|
|
4843
|
-
"product_id": "target-price-product-id",
|
|
4844
|
-
"quantity": 3,
|
|
4845
|
-
"unit_amount": 15000,
|
|
4846
|
-
"unit_amount_currency": "EUR",
|
|
4847
|
-
"unit_amount_decimal": "150.00",
|
|
4848
|
-
"amount_subtotal": 45000,
|
|
4849
|
-
"amount_total": 47700,
|
|
4850
|
-
"taxes": [
|
|
4851
|
-
{
|
|
4852
|
-
"tax": {
|
|
4853
|
-
"_id": "18bbbc2e-2c37-4f91-924a-07ae60d830e4",
|
|
4854
|
-
"type": "VAT",
|
|
4855
|
-
"active": true,
|
|
4856
|
-
"region": "DE",
|
|
4857
|
-
"_schema": "tax",
|
|
4858
|
-
"_title": "Tax Without Behaviour",
|
|
4859
|
-
"description": "Without Behaviour",
|
|
4860
|
-
"rate": "6",
|
|
4861
|
-
"_org": "739224",
|
|
4862
|
-
"_created_at": "2022-02-07T14:49:08.831Z",
|
|
4863
|
-
"_updated_at": "2022-02-07T14:49:08.831Z"
|
|
4864
|
-
},
|
|
4865
|
-
"amount": 2700
|
|
4866
|
-
}
|
|
4867
|
-
]
|
|
4868
|
-
},
|
|
4869
|
-
{
|
|
4870
|
-
"price_id": "comp2-2a95ca9-7a50-41a4-a73c-b5fb1a57d40f",
|
|
4871
|
-
"product_id": "target-price-product-id",
|
|
4872
|
-
"quantity": 3,
|
|
4873
|
-
"unit_amount": 15000,
|
|
4874
|
-
"unit_amount_currency": "EUR",
|
|
4875
|
-
"unit_amount_decimal": "150.00",
|
|
4876
|
-
"amount_subtotal": 45000,
|
|
4877
|
-
"amount_total": 47700,
|
|
4878
|
-
"taxes": [
|
|
4879
|
-
{
|
|
4880
|
-
"tax": {
|
|
4881
|
-
"_id": "18bbbc2e-2c37-4f91-924a-07ae60d830e4",
|
|
4882
|
-
"type": "VAT",
|
|
4883
|
-
"active": true,
|
|
4884
|
-
"region": "DE",
|
|
4885
|
-
"_schema": "tax",
|
|
4886
|
-
"_title": "Tax Without Behaviour",
|
|
4887
|
-
"description": "Without Behaviour",
|
|
4888
|
-
"rate": 6,
|
|
4889
|
-
"_org": "739224",
|
|
4890
|
-
"_created_at": "2022-02-07T14:49:08.831Z",
|
|
4891
|
-
"_updated_at": "2022-02-07T14:49:08.831Z"
|
|
4892
|
-
},
|
|
4893
|
-
"amount": 2700
|
|
4894
|
-
}
|
|
4895
|
-
]
|
|
4896
|
-
}
|
|
4897
|
-
],
|
|
4898
|
-
"_price": {
|
|
4899
|
-
"_id": "c2a95ca9-7a50-41a4-a73c-b5fb1a57d40f",
|
|
4900
|
-
"_schema": "price",
|
|
4901
|
-
"_title": "Test 1",
|
|
4902
|
-
"description": "Test 1",
|
|
4903
|
-
"_org": "739224",
|
|
4904
|
-
"_created_at": "2022-02-18T10:10:26.439Z",
|
|
4905
|
-
"_updated_at": "2022-02-18T11:53:04.191Z",
|
|
4906
|
-
"active": true,
|
|
4907
|
-
"price_components": {
|
|
4908
|
-
"$relation": [
|
|
4909
|
-
{
|
|
4910
|
-
"entity_id": "comp1-2a95ca9-7a50-41a4-a73c-b5fb1a57d40f",
|
|
4911
|
-
"_schema": "price",
|
|
4912
|
-
"_product_id": "target-price-product-id",
|
|
4913
|
-
"quantity": 1,
|
|
4914
|
-
"item": {
|
|
4915
|
-
"_id": "comp1-2a95ca9-7a50-41a4-a73c-b5fb1a57d40f",
|
|
4916
|
-
"unit_amount": 10000,
|
|
4917
|
-
"unit_amount_currency": "EUR",
|
|
4918
|
-
"unit_amount_decimal": "100.00",
|
|
4919
|
-
"sales_tax": "standard",
|
|
4920
|
-
"price_display_in_journeys": "show_price",
|
|
4921
|
-
"type": "one_time",
|
|
4922
|
-
"_schema": "price",
|
|
4923
|
-
"_title": "Test 1",
|
|
4924
|
-
"description": "Test 1",
|
|
4925
|
-
"tax": {
|
|
4926
|
-
"$relation": [
|
|
4927
|
-
{
|
|
4928
|
-
"entity_id": "18bbbc2e-2c37-4f91-924a-07ae60d830e4"
|
|
4929
|
-
}
|
|
4930
|
-
]
|
|
4931
|
-
},
|
|
4932
|
-
"_org": "739224",
|
|
4933
|
-
"_created_at": "2022-02-18T10:10:26.439Z",
|
|
4934
|
-
"_updated_at": "2022-02-18T11:53:04.191Z",
|
|
4935
|
-
"active": true,
|
|
4936
|
-
"billing_period": "weekly",
|
|
4937
|
-
"billing_duration_unit": "months",
|
|
4938
|
-
"notice_time_unit": "months",
|
|
4939
|
-
"termination_time_unit": "months",
|
|
4940
|
-
"renewal_duration_unit": "months"
|
|
4941
|
-
}
|
|
4942
|
-
},
|
|
4943
|
-
{
|
|
4944
|
-
"entity_id": "comp2-2a95ca9-7a50-41a4-a73c-b5fb1a57d40f",
|
|
4945
|
-
"_schema": "price",
|
|
4946
|
-
"_product_id": "target-price-product-id",
|
|
4947
|
-
"quantity": 2,
|
|
4948
|
-
"item": {
|
|
4949
|
-
"_id": "comp2-2a95ca9-7a50-41a4-a73c-b5fb1a57d40f",
|
|
4950
|
-
"unit_amount": 10000,
|
|
4951
|
-
"unit_amount_currency": "EUR",
|
|
4952
|
-
"unit_amount_decimal": "100.00",
|
|
4953
|
-
"sales_tax": "standard",
|
|
4954
|
-
"is_tax_inclusive": false,
|
|
4955
|
-
"price_display_in_journeys": "show_price",
|
|
4956
|
-
"type": "one_time",
|
|
4957
|
-
"_schema": "price",
|
|
4958
|
-
"_title": "Test 1",
|
|
4959
|
-
"description": "Test 1",
|
|
4960
|
-
"tax": {
|
|
4961
|
-
"$relation": [
|
|
4962
|
-
{
|
|
4963
|
-
"entity_id": "18bbbc2e-2c37-4f91-924a-07ae60d830e4"
|
|
4964
|
-
}
|
|
4965
|
-
]
|
|
4966
|
-
},
|
|
4967
|
-
"_org": "739224",
|
|
4968
|
-
"_created_at": "2022-02-18T10:10:26.439Z",
|
|
4969
|
-
"_updated_at": "2022-02-18T11:53:04.191Z",
|
|
4970
|
-
"active": true,
|
|
4971
|
-
"billing_period": "weekly",
|
|
4972
|
-
"billing_duration_unit": "months",
|
|
4973
|
-
"notice_time_unit": "months",
|
|
4974
|
-
"termination_time_unit": "months",
|
|
4975
|
-
"renewal_duration_unit": "months"
|
|
4976
|
-
}
|
|
4977
|
-
}
|
|
4978
|
-
]
|
|
4979
|
-
}
|
|
4980
|
-
},
|
|
4981
|
-
"_product": {
|
|
4982
|
-
"_id": "73f857a4-0fbc-4aa6-983f-87c0d6d410a6",
|
|
4983
|
-
"type": "product",
|
|
4984
|
-
"name": "Cool box",
|
|
4985
|
-
"_title": "Cool box"
|
|
4986
|
-
},
|
|
4987
|
-
"description": "Price Component",
|
|
4988
|
-
"unit_amount": 90000,
|
|
4989
|
-
"amount_subtotal": 270000,
|
|
4990
|
-
"amount_total": 286200
|
|
4991
|
-
},
|
|
4992
|
-
{
|
|
4993
|
-
"price_id": "adbd8cee-0db2-41dd-b93b-2d0ed57c77da",
|
|
4994
|
-
"product_id": "11bd46e5-4c02-425c-bcce-5f5e022a2b45",
|
|
4995
|
-
"taxes": [
|
|
4996
|
-
{
|
|
4997
|
-
"tax": null,
|
|
4998
|
-
"amount": 0
|
|
4999
|
-
}
|
|
5000
|
-
],
|
|
5001
|
-
"_price": {
|
|
5002
|
-
"_id": "adbd8cee-0db2-41dd-b93b-2d0ed57c77da",
|
|
5003
|
-
"unit_amount": 55566677,
|
|
5004
|
-
"unit_amount_currency": "EUR",
|
|
5005
|
-
"unit_amount_decimal": "555666.77",
|
|
5006
|
-
"sales_tax": "standard",
|
|
5007
|
-
"is_tax_inclusive": true,
|
|
5008
|
-
"price_display_in_journeys": "show_as_starting_price",
|
|
5009
|
-
"type": "one_time",
|
|
5010
|
-
"_schema": "price",
|
|
5011
|
-
"_title": "As Starting Price One Time No Tax",
|
|
5012
|
-
"description": "As Starting Price One Time No Tax",
|
|
5013
|
-
"tax": null,
|
|
5014
|
-
"active": true,
|
|
5015
|
-
"_org": "739224",
|
|
5016
|
-
"_created_at": "2022-04-14T16:12:34.456Z",
|
|
5017
|
-
"_updated_at": "2022-04-14T16:13:47.261Z",
|
|
5018
|
-
"billing_period": "weekly",
|
|
5019
|
-
"billing_duration_unit": "months",
|
|
5020
|
-
"notice_time_unit": "months",
|
|
5021
|
-
"termination_time_unit": "months",
|
|
5022
|
-
"renewal_duration_unit": "months"
|
|
5023
|
-
},
|
|
5024
|
-
"_product": {
|
|
5025
|
-
"_id": "11bd46e5-4c02-425c-bcce-5f5e022a2b45",
|
|
5026
|
-
"type": "product",
|
|
5027
|
-
"_schema": "product",
|
|
5028
|
-
"_title": "Product With A Lot Of Prices - Do Not Change 🙏",
|
|
5029
|
-
"name": "Product With A Lot Of Prices - Do Not Change 🙏",
|
|
5030
|
-
"_org": "739224",
|
|
5031
|
-
"_created_at": "2022-04-14T16:08:08.595Z",
|
|
5032
|
-
"_updated_at": "2022-04-18T16:26:33.089Z",
|
|
5033
|
-
"price_options": {
|
|
5034
|
-
"$relation": [
|
|
5035
|
-
{
|
|
5036
|
-
"entity_id": "f850ebff-082e-4924-8631-965cc9c0ab2b",
|
|
5037
|
-
"_tags": []
|
|
5038
|
-
},
|
|
5039
|
-
{
|
|
5040
|
-
"entity_id": "d6ecc576-b5d6-44b4-8c95-496ab2ac14d3",
|
|
5041
|
-
"_tags": []
|
|
5042
|
-
},
|
|
5043
|
-
{
|
|
5044
|
-
"entity_id": "3c0e47ad-6ca3-4cd8-b6b4-b2a48dab7f16",
|
|
5045
|
-
"_tags": []
|
|
5046
|
-
},
|
|
5047
|
-
{
|
|
5048
|
-
"entity_id": "adbd8cee-0db2-41dd-b93b-2d0ed57c77da",
|
|
5049
|
-
"_tags": []
|
|
5050
|
-
},
|
|
5051
|
-
{
|
|
5052
|
-
"entity_id": "3e97f809-1d4b-47e1-9faf-46386b2b0d21",
|
|
5053
|
-
"_tags": []
|
|
5054
|
-
},
|
|
5055
|
-
{
|
|
5056
|
-
"entity_id": "d4061656-71dc-45ec-bf6c-1d90d2419d87",
|
|
5057
|
-
"_tags": []
|
|
5058
|
-
},
|
|
5059
|
-
{
|
|
5060
|
-
"entity_id": "4ae4221b-4fd0-4bcc-98a2-f20cda954903",
|
|
5061
|
-
"_tags": []
|
|
5062
|
-
},
|
|
5063
|
-
{
|
|
5064
|
-
"entity_id": "b326df19-9d0f-433a-a4d2-a0a65034b5f7",
|
|
5065
|
-
"_tags": []
|
|
5066
|
-
},
|
|
5067
|
-
{
|
|
5068
|
-
"entity_id": "0d071551-47be-4a5b-90d7-d425a59607e6",
|
|
5069
|
-
"_tags": []
|
|
5070
|
-
}
|
|
5071
|
-
]
|
|
5072
|
-
},
|
|
5073
|
-
"_files": {
|
|
5074
|
-
"$relation": [
|
|
5075
|
-
{
|
|
5076
|
-
"entity_id": "27cc0710-651d-48dc-9624-9d1d3057d025",
|
|
5077
|
-
"_tags": []
|
|
5078
|
-
},
|
|
5079
|
-
{
|
|
5080
|
-
"entity_id": "8530678c-d4cb-4e27-b314-16a79d6c0abc",
|
|
5081
|
-
"_tags": []
|
|
5082
|
-
},
|
|
5083
|
-
{
|
|
5084
|
-
"entity_id": "714d6253-213f-4e30-8caf-00b0d11032e4",
|
|
5085
|
-
"_tags": []
|
|
5086
|
-
},
|
|
5087
|
-
{
|
|
5088
|
-
"entity_id": "2218a8f8-c6e2-4a98-a2fe-030ed78ebfa7",
|
|
5089
|
-
"_tags": []
|
|
5090
|
-
}
|
|
5091
|
-
]
|
|
5092
|
-
}
|
|
5093
|
-
},
|
|
5094
|
-
"quantity": 7,
|
|
5095
|
-
"currency": "EUR",
|
|
5096
|
-
"description": "As Starting Price One Time No Tax",
|
|
5097
|
-
"unit_amount": 55566677,
|
|
5098
|
-
"amount_subtotal": 388966739,
|
|
5099
|
-
"amount_total": 388966739
|
|
5100
|
-
}
|
|
5101
|
-
],
|
|
5102
|
-
"amount_subtotal": 389236739,
|
|
5103
|
-
"amount_total": 389252939,
|
|
5104
|
-
"total_details": {
|
|
5105
|
-
"amount_tax": 5400,
|
|
5106
|
-
"breakdown": {
|
|
5107
|
-
"taxes": [
|
|
5108
|
-
{
|
|
5109
|
-
"tax": {
|
|
5110
|
-
"_id": "18bbbc2e-2c37-4f91-924a-07ae60d830e4",
|
|
5111
|
-
"type": "VAT",
|
|
5112
|
-
"active": true,
|
|
5113
|
-
"region": "DE",
|
|
5114
|
-
"_schema": "tax",
|
|
5115
|
-
"_title": "Tax Without Behaviour",
|
|
5116
|
-
"description": "Without Behaviour",
|
|
5117
|
-
"rate": 6,
|
|
5118
|
-
"_org": "739224",
|
|
5119
|
-
"_created_at": "2022-02-07T14:49:08.831Z",
|
|
5120
|
-
"_updated_at": "2022-02-07T14:49:08.831Z"
|
|
5121
|
-
},
|
|
5122
|
-
"amount": 5400
|
|
5123
|
-
}
|
|
5124
|
-
],
|
|
5125
|
-
"recurrences": [
|
|
5126
|
-
{
|
|
5127
|
-
"type": "one_time",
|
|
5128
|
-
"amount_subtotal": 389236739,
|
|
5129
|
-
"amount_total": 389252939,
|
|
5130
|
-
"amount_tax": 5400
|
|
5131
|
-
}
|
|
5132
|
-
]
|
|
5133
|
-
}
|
|
5134
|
-
},
|
|
5135
|
-
"_schema": "order",
|
|
5136
|
-
"_id": "78ac88ae-d7df-4a1e-a26b-acaf089abfb2",
|
|
5137
|
-
"_org": "739224",
|
|
5138
|
-
"_created_at": "2022-04-19T08:19:29.816Z",
|
|
5139
|
-
"_updated_at": "2022-04-20T16:15:48.759Z",
|
|
5140
|
-
"_title": "OREabZxnO",
|
|
5141
|
-
"customer": {
|
|
5142
|
-
"$relation": [
|
|
5143
|
-
{
|
|
5144
|
-
"entity_id": "bb986d50-f403-477c-9d9c-726f8fd6d155"
|
|
5145
|
-
}
|
|
5146
|
-
]
|
|
5147
|
-
}
|
|
5148
|
-
}
|
|
5149
|
-
},
|
|
5150
4736
|
"opportunity": {
|
|
5151
4737
|
"value": {
|
|
5152
4738
|
"opportunity_number": "OP 2022/335790",
|