@flowio/api-mock-generator 6.17.90 → 6.17.91
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/api.json +12 -893
- package/package.json +2 -2
- package/src/api.json +12 -893
package/dist/api.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"apidoc": {
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.16"
|
|
4
4
|
},
|
|
5
5
|
"name": "API",
|
|
6
6
|
"organization": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"key": "api"
|
|
11
11
|
},
|
|
12
12
|
"namespace": "io.flow.v0",
|
|
13
|
-
"version": "0.19.
|
|
13
|
+
"version": "0.19.16",
|
|
14
14
|
"info": {
|
|
15
15
|
"license": {
|
|
16
16
|
"name": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"application": {
|
|
47
47
|
"key": "apple-pay"
|
|
48
48
|
},
|
|
49
|
-
"version": "0.3.
|
|
49
|
+
"version": "0.3.83",
|
|
50
50
|
"enums": ["apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks"],
|
|
51
51
|
"interfaces": [],
|
|
52
52
|
"unions": [],
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"application": {
|
|
62
62
|
"key": "google-pay"
|
|
63
63
|
},
|
|
64
|
-
"version": "0.3.
|
|
64
|
+
"version": "0.3.83",
|
|
65
65
|
"enums": ["auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status"],
|
|
66
66
|
"interfaces": [],
|
|
67
67
|
"unions": ["payment_method_token"],
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"application": {
|
|
77
77
|
"key": "shopify-external"
|
|
78
78
|
},
|
|
79
|
-
"version": "0.3.
|
|
79
|
+
"version": "0.3.83",
|
|
80
80
|
"enums": ["cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "graphql_weight_unit", "inventory_behaviour", "inventory_management", "inventory_policy", "kind_type", "localized_price", "order_status_type", "price_rule_allocation_method", "price_rule_customer_selection", "price_rule_target_selection", "price_rule_target_type", "price_rule_value_type", "published_scope", "restock_type", "shopify_customer_state", "shopify_discount_pagination_direction", "shopify_gift_card_status", "shopify_plan_name", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit"],
|
|
81
81
|
"interfaces": [],
|
|
82
82
|
"unions": [],
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"application": {
|
|
92
92
|
"key": "ben-test-internal"
|
|
93
93
|
},
|
|
94
|
-
"version": "0.24.
|
|
94
|
+
"version": "0.24.84",
|
|
95
95
|
"enums": [],
|
|
96
96
|
"interfaces": ["generate_load"],
|
|
97
97
|
"unions": ["generate_load"],
|
|
@@ -1416,12 +1416,6 @@
|
|
|
1416
1416
|
}, {
|
|
1417
1417
|
"name": "customer_address_book_contact_deleted",
|
|
1418
1418
|
"attributes": []
|
|
1419
|
-
}, {
|
|
1420
|
-
"name": "email_notification_upserted",
|
|
1421
|
-
"attributes": []
|
|
1422
|
-
}, {
|
|
1423
|
-
"name": "email_notification_deleted",
|
|
1424
|
-
"attributes": []
|
|
1425
1419
|
}, {
|
|
1426
1420
|
"name": "available_promotions_upserted",
|
|
1427
1421
|
"attributes": []
|
|
@@ -2598,17 +2592,6 @@
|
|
|
2598
2592
|
"description": "Value-Added Tax"
|
|
2599
2593
|
}],
|
|
2600
2594
|
"attributes": []
|
|
2601
|
-
}, {
|
|
2602
|
-
"name": "levy_inclusion",
|
|
2603
|
-
"plural": "levy_inclusions",
|
|
2604
|
-
"values": [{
|
|
2605
|
-
"name": "tax",
|
|
2606
|
-
"attributes": []
|
|
2607
|
-
}, {
|
|
2608
|
-
"name": "duty",
|
|
2609
|
-
"attributes": []
|
|
2610
|
-
}],
|
|
2611
|
-
"attributes": []
|
|
2612
2595
|
}, {
|
|
2613
2596
|
"name": "levy_strategy",
|
|
2614
2597
|
"plural": "levy_strategies",
|
|
@@ -4924,94 +4907,6 @@
|
|
|
4924
4907
|
"description": "In all scenarios a customer should pay tax within the Flow system."
|
|
4925
4908
|
}],
|
|
4926
4909
|
"attributes": []
|
|
4927
|
-
}, {
|
|
4928
|
-
"name": "tax_duty_calculator_validation_error_code",
|
|
4929
|
-
"plural": "tax_duty_calculator_validation_error_codes",
|
|
4930
|
-
"values": [{
|
|
4931
|
-
"name": "generic_error",
|
|
4932
|
-
"attributes": []
|
|
4933
|
-
}, {
|
|
4934
|
-
"name": "destination_country_not_defined",
|
|
4935
|
-
"attributes": [],
|
|
4936
|
-
"description": "Destination address including at minimum a country must be included to properly generate a tax quote"
|
|
4937
|
-
}, {
|
|
4938
|
-
"name": "destination_address_iso3166_unrecognized",
|
|
4939
|
-
"attributes": [],
|
|
4940
|
-
"description": "Destination address country is not recognized as a destination country in ISO 3166"
|
|
4941
|
-
}, {
|
|
4942
|
-
"name": "line_item_shipfrom_shipto_country_invalid",
|
|
4943
|
-
"attributes": [],
|
|
4944
|
-
"description": "This is a cross-border calculator. No line's ship from country can be the same as the destination country"
|
|
4945
|
-
}, {
|
|
4946
|
-
"name": "line_item_ship_from_invalid",
|
|
4947
|
-
"attributes": [],
|
|
4948
|
-
"description": "Every line's ship from address must include a country to properly generate a tax quote"
|
|
4949
|
-
}, {
|
|
4950
|
-
"name": "line_item_currency_iso4217_unrecognized",
|
|
4951
|
-
"attributes": [],
|
|
4952
|
-
"description": "Line item provided currency is not recognized as a calculation currency in ISO 4217"
|
|
4953
|
-
}, {
|
|
4954
|
-
"name": "line_quantity_invalid",
|
|
4955
|
-
"attributes": [],
|
|
4956
|
-
"description": "Order must contain at least one line of ordered goods"
|
|
4957
|
-
}, {
|
|
4958
|
-
"name": "line_item_quantity_invalid",
|
|
4959
|
-
"attributes": [],
|
|
4960
|
-
"description": "Line item quantity must be greater than 0"
|
|
4961
|
-
}, {
|
|
4962
|
-
"name": "line_item_unit_price_precision_invalid",
|
|
4963
|
-
"attributes": [],
|
|
4964
|
-
"description": "Provided value for unit amount is more precise than the maximum allowed for this currency"
|
|
4965
|
-
}, {
|
|
4966
|
-
"name": "line_item_unit_price_negative",
|
|
4967
|
-
"attributes": [],
|
|
4968
|
-
"description": "Line Item Unit amount must be greater than or equal to 0"
|
|
4969
|
-
}, {
|
|
4970
|
-
"name": "line_item_discount_amount_precision_invalid",
|
|
4971
|
-
"attributes": [],
|
|
4972
|
-
"description": "Line item Unit discount amount is more precise than the maximum allowed for this currency"
|
|
4973
|
-
}, {
|
|
4974
|
-
"name": "line_item_discount_amount_positive",
|
|
4975
|
-
"attributes": [],
|
|
4976
|
-
"description": "Line item Unit discount must be less than or equal to 0"
|
|
4977
|
-
}, {
|
|
4978
|
-
"name": "line_item_country_of_origin_iso3166_unrecognized",
|
|
4979
|
-
"attributes": [],
|
|
4980
|
-
"description": "Line item country of origin is not recognized as a country of origin in ISO 3166"
|
|
4981
|
-
}, {
|
|
4982
|
-
"name": "line_item_hs_code_invalid",
|
|
4983
|
-
"attributes": [],
|
|
4984
|
-
"description": "Line item does not appear to contain a properly formed hs code. Please provide a 6 digit code or a 4-14 digit code specific to the destination country"
|
|
4985
|
-
}, {
|
|
4986
|
-
"name": "line_item_duty_provider_invalid",
|
|
4987
|
-
"attributes": [],
|
|
4988
|
-
"description": "Line item country of origin and shipto country resulted in inability to calculate duty."
|
|
4989
|
-
}, {
|
|
4990
|
-
"name": "shipping_unit_price_precision_invalid",
|
|
4991
|
-
"attributes": [],
|
|
4992
|
-
"description": "Shipping amount is more precise than the maximum allowed for this currency"
|
|
4993
|
-
}, {
|
|
4994
|
-
"name": "shipping_unit_price_negative",
|
|
4995
|
-
"attributes": [],
|
|
4996
|
-
"description": "Shipping amount must be greater than or equal to 0"
|
|
4997
|
-
}, {
|
|
4998
|
-
"name": "shipping_discount_amount_precision_invalid",
|
|
4999
|
-
"attributes": [],
|
|
5000
|
-
"description": "Shipping discount amount is more precise than the maximum allowed for this currency"
|
|
5001
|
-
}, {
|
|
5002
|
-
"name": "shipping_discount_amount_invalid",
|
|
5003
|
-
"attributes": [],
|
|
5004
|
-
"description": "Shipping discount must be less than or equal to 0"
|
|
5005
|
-
}, {
|
|
5006
|
-
"name": "merchant_of_record_invalid",
|
|
5007
|
-
"attributes": [],
|
|
5008
|
-
"description": "Only 'Flow' is supported as Merchant of Record"
|
|
5009
|
-
}, {
|
|
5010
|
-
"name": "wrong_unit_specified",
|
|
5011
|
-
"attributes": [],
|
|
5012
|
-
"description": "Only weight units may be specified for a unit weight."
|
|
5013
|
-
}],
|
|
5014
|
-
"attributes": []
|
|
5015
4910
|
}, {
|
|
5016
4911
|
"name": "tax_report_type",
|
|
5017
4912
|
"plural": "tax_report_types",
|
|
@@ -5628,52 +5523,6 @@
|
|
|
5628
5523
|
"description": "Show the word `FREE` in the label"
|
|
5629
5524
|
}],
|
|
5630
5525
|
"attributes": []
|
|
5631
|
-
}, {
|
|
5632
|
-
"name": "zero_levy_reason_code",
|
|
5633
|
-
"plural": "zero_levy_reason_codes",
|
|
5634
|
-
"values": [{
|
|
5635
|
-
"name": "zero_basis",
|
|
5636
|
-
"attributes": [],
|
|
5637
|
-
"description": "When all the applicable components of an item price were added up, the result was a $0 basis"
|
|
5638
|
-
}, {
|
|
5639
|
-
"name": "zero_rate_on_goods",
|
|
5640
|
-
"attributes": [],
|
|
5641
|
-
"description": "A general 0% rate is defined for items of this type (such as medical devices or children's clothing)"
|
|
5642
|
-
}, {
|
|
5643
|
-
"name": "value_rounds_to_zero",
|
|
5644
|
-
"attributes": [],
|
|
5645
|
-
"description": "A tax rate was applied, but the result rounded to zero."
|
|
5646
|
-
}, {
|
|
5647
|
-
"name": "order_below_de_minimis_threshold",
|
|
5648
|
-
"attributes": [],
|
|
5649
|
-
"description": "The order is below the de minimis threshold"
|
|
5650
|
-
}, {
|
|
5651
|
-
"name": "amount_below_de_minimis_threshold",
|
|
5652
|
-
"attributes": [],
|
|
5653
|
-
"description": "The amount owed is below the de minimis threshold"
|
|
5654
|
-
}, {
|
|
5655
|
-
"name": "delivered_unpaid",
|
|
5656
|
-
"attributes": [],
|
|
5657
|
-
"description": "The consumer has selected not to prepay tax, and thus we have not computed the tax they will owe"
|
|
5658
|
-
}, {
|
|
5659
|
-
"name": "duty_free_domestic",
|
|
5660
|
-
"attributes": [],
|
|
5661
|
-
"description": "This cross-border tax or duty is not owed because the sale is domestic"
|
|
5662
|
-
}, {
|
|
5663
|
-
"name": "duty_free_intra_community",
|
|
5664
|
-
"attributes": [],
|
|
5665
|
-
"description": "This cross-border tax or duty is not owed because the sale is within the borders of a customs union"
|
|
5666
|
-
}, {
|
|
5667
|
-
"name": "duty_free_reimport",
|
|
5668
|
-
"attributes": [],
|
|
5669
|
-
"description": "When previously exported goods are re-imported back to the country of manufacture, they might be able to enter duty free."
|
|
5670
|
-
}, {
|
|
5671
|
-
"name": "duty_free_by_trade_agreement",
|
|
5672
|
-
"attributes": [],
|
|
5673
|
-
"description": "This cross-border tax or duty is not owed due to a certified trade agreement"
|
|
5674
|
-
}],
|
|
5675
|
-
"attributes": [],
|
|
5676
|
-
"description": "Describes the reason for a $0 liability amount."
|
|
5677
5526
|
}],
|
|
5678
5527
|
"interfaces": [{
|
|
5679
5528
|
"name": "abandoned_order_promotion_details",
|
|
@@ -6701,41 +6550,6 @@
|
|
|
6701
6550
|
"annotations": []
|
|
6702
6551
|
}],
|
|
6703
6552
|
"attributes": []
|
|
6704
|
-
}, {
|
|
6705
|
-
"name": "tax_duty_quote_levy_value",
|
|
6706
|
-
"plural": "tax_duty_quote_levy_values",
|
|
6707
|
-
"fields": [{
|
|
6708
|
-
"name": "amount",
|
|
6709
|
-
"type": "decimal",
|
|
6710
|
-
"required": true,
|
|
6711
|
-
"attributes": [],
|
|
6712
|
-
"annotations": [],
|
|
6713
|
-
"minimum": 0,
|
|
6714
|
-
"maximum": 1
|
|
6715
|
-
}, {
|
|
6716
|
-
"name": "rate",
|
|
6717
|
-
"type": "decimal",
|
|
6718
|
-
"required": true,
|
|
6719
|
-
"attributes": [],
|
|
6720
|
-
"annotations": [],
|
|
6721
|
-
"minimum": 0,
|
|
6722
|
-
"maximum": 1
|
|
6723
|
-
}, {
|
|
6724
|
-
"name": "description",
|
|
6725
|
-
"type": "string",
|
|
6726
|
-
"required": true,
|
|
6727
|
-
"attributes": [],
|
|
6728
|
-
"annotations": [],
|
|
6729
|
-
"description": "Description of the levies included cf `VAT`, `GST + PST`, `SALT`, `Erga Omnes Duties`, `Fall Back Rate Duties`"
|
|
6730
|
-
}, {
|
|
6731
|
-
"name": "zero_levy_reason",
|
|
6732
|
-
"type": "[zero_levy_reason_code]",
|
|
6733
|
-
"required": false,
|
|
6734
|
-
"attributes": [],
|
|
6735
|
-
"annotations": [],
|
|
6736
|
-
"description": "When no levy is owed, this enum explains why that would be. There can be more than one reason for a 0 levy, such as no basis and a 0% rate."
|
|
6737
|
-
}],
|
|
6738
|
-
"attributes": []
|
|
6739
6553
|
}, {
|
|
6740
6554
|
"name": "token_detail_interface",
|
|
6741
6555
|
"plural": "token_detail_interfaces",
|
|
@@ -7598,14 +7412,6 @@
|
|
|
7598
7412
|
"type": "customer_address_book_contact_deleted",
|
|
7599
7413
|
"attributes": [],
|
|
7600
7414
|
"discriminator_value": "customer_address_book_contact_deleted"
|
|
7601
|
-
}, {
|
|
7602
|
-
"type": "email_notification_upserted",
|
|
7603
|
-
"attributes": [],
|
|
7604
|
-
"discriminator_value": "email_notification_upserted"
|
|
7605
|
-
}, {
|
|
7606
|
-
"type": "email_notification_deleted",
|
|
7607
|
-
"attributes": [],
|
|
7608
|
-
"discriminator_value": "email_notification_deleted"
|
|
7609
7415
|
}, {
|
|
7610
7416
|
"type": "available_promotions_upserted",
|
|
7611
7417
|
"attributes": [],
|
|
@@ -9560,18 +9366,6 @@
|
|
|
9560
9366
|
"attributes": [],
|
|
9561
9367
|
"interfaces": [],
|
|
9562
9368
|
"discriminator": "discriminator"
|
|
9563
|
-
}, {
|
|
9564
|
-
"name": "tax_duty_quote_levy_value",
|
|
9565
|
-
"plural": "tax_duty_quote_levy_values",
|
|
9566
|
-
"types": [{
|
|
9567
|
-
"type": "tax_duty_quote_simple_levy_value",
|
|
9568
|
-
"attributes": [],
|
|
9569
|
-
"discriminator_value": "tax_duty_quote_simple_levy_value"
|
|
9570
|
-
}],
|
|
9571
|
-
"attributes": [],
|
|
9572
|
-
"interfaces": ["tax_duty_quote_levy_value"],
|
|
9573
|
-
"discriminator": "discriminator",
|
|
9574
|
-
"description": "The quoted value for a tax or duty, with supporting information."
|
|
9575
9369
|
}, {
|
|
9576
9370
|
"name": "tax_setting",
|
|
9577
9371
|
"plural": "tax_settings",
|
|
@@ -22245,37 +22039,6 @@
|
|
|
22245
22039
|
"attributes": [],
|
|
22246
22040
|
"interfaces": [],
|
|
22247
22041
|
"description": "Sends an refund confirmation email to the customer (using the order.customer.email as the recipient)."
|
|
22248
|
-
}, {
|
|
22249
|
-
"name": "email_notification_deleted",
|
|
22250
|
-
"plural": "email_notification_deleteds",
|
|
22251
|
-
"fields": [{
|
|
22252
|
-
"name": "event_id",
|
|
22253
|
-
"type": "string",
|
|
22254
|
-
"required": true,
|
|
22255
|
-
"attributes": [],
|
|
22256
|
-
"annotations": []
|
|
22257
|
-
}, {
|
|
22258
|
-
"name": "timestamp",
|
|
22259
|
-
"type": "date-time-iso8601",
|
|
22260
|
-
"required": true,
|
|
22261
|
-
"attributes": [],
|
|
22262
|
-
"annotations": []
|
|
22263
|
-
}, {
|
|
22264
|
-
"name": "organization",
|
|
22265
|
-
"type": "string",
|
|
22266
|
-
"required": true,
|
|
22267
|
-
"attributes": [],
|
|
22268
|
-
"annotations": [],
|
|
22269
|
-
"description": "Refers to your organization's account identifier"
|
|
22270
|
-
}, {
|
|
22271
|
-
"name": "notification",
|
|
22272
|
-
"type": "email_notification",
|
|
22273
|
-
"required": true,
|
|
22274
|
-
"attributes": [],
|
|
22275
|
-
"annotations": ["personal_data", "consumer"]
|
|
22276
|
-
}],
|
|
22277
|
-
"attributes": [],
|
|
22278
|
-
"interfaces": []
|
|
22279
22042
|
}, {
|
|
22280
22043
|
"name": "email_notification_form",
|
|
22281
22044
|
"plural": "email_notification_forms",
|
|
@@ -22300,37 +22063,6 @@
|
|
|
22300
22063
|
}],
|
|
22301
22064
|
"attributes": [],
|
|
22302
22065
|
"interfaces": []
|
|
22303
|
-
}, {
|
|
22304
|
-
"name": "email_notification_upserted",
|
|
22305
|
-
"plural": "email_notification_upserteds",
|
|
22306
|
-
"fields": [{
|
|
22307
|
-
"name": "event_id",
|
|
22308
|
-
"type": "string",
|
|
22309
|
-
"required": true,
|
|
22310
|
-
"attributes": [],
|
|
22311
|
-
"annotations": []
|
|
22312
|
-
}, {
|
|
22313
|
-
"name": "timestamp",
|
|
22314
|
-
"type": "date-time-iso8601",
|
|
22315
|
-
"required": true,
|
|
22316
|
-
"attributes": [],
|
|
22317
|
-
"annotations": []
|
|
22318
|
-
}, {
|
|
22319
|
-
"name": "organization",
|
|
22320
|
-
"type": "string",
|
|
22321
|
-
"required": true,
|
|
22322
|
-
"attributes": [],
|
|
22323
|
-
"annotations": [],
|
|
22324
|
-
"description": "Refers to your organization's account identifier"
|
|
22325
|
-
}, {
|
|
22326
|
-
"name": "notification",
|
|
22327
|
-
"type": "email_notification",
|
|
22328
|
-
"required": true,
|
|
22329
|
-
"attributes": [],
|
|
22330
|
-
"annotations": ["personal_data", "consumer"]
|
|
22331
|
-
}],
|
|
22332
|
-
"attributes": [],
|
|
22333
|
-
"interfaces": []
|
|
22334
22066
|
}, {
|
|
22335
22067
|
"name": "email_payment_summary",
|
|
22336
22068
|
"plural": "email_payment_summaries",
|
|
@@ -50003,45 +49735,6 @@
|
|
|
50003
49735
|
}],
|
|
50004
49736
|
"attributes": [],
|
|
50005
49737
|
"interfaces": []
|
|
50006
|
-
}, {
|
|
50007
|
-
"name": "street_address",
|
|
50008
|
-
"plural": "street_addresses",
|
|
50009
|
-
"fields": [{
|
|
50010
|
-
"name": "streets",
|
|
50011
|
-
"type": "[string]",
|
|
50012
|
-
"required": false,
|
|
50013
|
-
"attributes": [],
|
|
50014
|
-
"annotations": ["personal_data"],
|
|
50015
|
-
"description": "Array for street line 1, street line 2, etc., in order"
|
|
50016
|
-
}, {
|
|
50017
|
-
"name": "city",
|
|
50018
|
-
"type": "string",
|
|
50019
|
-
"required": false,
|
|
50020
|
-
"attributes": [],
|
|
50021
|
-
"annotations": []
|
|
50022
|
-
}, {
|
|
50023
|
-
"name": "province",
|
|
50024
|
-
"type": "string",
|
|
50025
|
-
"required": false,
|
|
50026
|
-
"attributes": [],
|
|
50027
|
-
"annotations": []
|
|
50028
|
-
}, {
|
|
50029
|
-
"name": "postal",
|
|
50030
|
-
"type": "string",
|
|
50031
|
-
"required": false,
|
|
50032
|
-
"attributes": [],
|
|
50033
|
-
"annotations": []
|
|
50034
|
-
}, {
|
|
50035
|
-
"name": "country",
|
|
50036
|
-
"type": "string",
|
|
50037
|
-
"required": false,
|
|
50038
|
-
"attributes": [],
|
|
50039
|
-
"annotations": [],
|
|
50040
|
-
"description": "The ISO 3166-3 country code. Case insensitive. See https://api.flow.io/reference/countries",
|
|
50041
|
-
"example": "CAN"
|
|
50042
|
-
}],
|
|
50043
|
-
"attributes": [],
|
|
50044
|
-
"interfaces": []
|
|
50045
49738
|
}, {
|
|
50046
49739
|
"name": "stripe_authentication_data",
|
|
50047
49740
|
"plural": "stripe_authentication_data",
|
|
@@ -51015,482 +50708,6 @@
|
|
|
51015
50708
|
"attributes": [],
|
|
51016
50709
|
"interfaces": [],
|
|
51017
50710
|
"description": "Represents a simple model of taxes that apply to a given item / destination."
|
|
51018
|
-
}, {
|
|
51019
|
-
"name": "tax_duty_calculator_validation_error",
|
|
51020
|
-
"plural": "tax_duty_calculator_validation_errors",
|
|
51021
|
-
"fields": [{
|
|
51022
|
-
"name": "code",
|
|
51023
|
-
"type": "tax_duty_calculator_validation_error_code",
|
|
51024
|
-
"required": true,
|
|
51025
|
-
"attributes": [],
|
|
51026
|
-
"annotations": [],
|
|
51027
|
-
"description": "Code representing the first error encountered when validating a request."
|
|
51028
|
-
}, {
|
|
51029
|
-
"name": "messages",
|
|
51030
|
-
"type": "[string]",
|
|
51031
|
-
"required": true,
|
|
51032
|
-
"attributes": [],
|
|
51033
|
-
"annotations": [],
|
|
51034
|
-
"description": "A human readable summary of the errors encountered when processing a request.",
|
|
51035
|
-
"minimum": 1
|
|
51036
|
-
}],
|
|
51037
|
-
"attributes": [{
|
|
51038
|
-
"name": "linter",
|
|
51039
|
-
"value": {
|
|
51040
|
-
"error_version": "1"
|
|
51041
|
-
}
|
|
51042
|
-
}],
|
|
51043
|
-
"interfaces": []
|
|
51044
|
-
}, {
|
|
51045
|
-
"name": "tax_duty_quote",
|
|
51046
|
-
"plural": "tax_duty_quotes",
|
|
51047
|
-
"fields": [{
|
|
51048
|
-
"name": "id",
|
|
51049
|
-
"type": "string",
|
|
51050
|
-
"required": true,
|
|
51051
|
-
"attributes": [],
|
|
51052
|
-
"annotations": [],
|
|
51053
|
-
"description": "Unique external identifier for this quote."
|
|
51054
|
-
}, {
|
|
51055
|
-
"name": "primary_identifier",
|
|
51056
|
-
"type": "string",
|
|
51057
|
-
"required": true,
|
|
51058
|
-
"attributes": [],
|
|
51059
|
-
"annotations": [],
|
|
51060
|
-
"description": "A user supplied identifier that can be used to retrieve multiple requests in a single call. Examples include an order number or a cart or checkout identifier."
|
|
51061
|
-
}, {
|
|
51062
|
-
"name": "attributes",
|
|
51063
|
-
"type": "map[string]",
|
|
51064
|
-
"required": false,
|
|
51065
|
-
"attributes": [],
|
|
51066
|
-
"annotations": [],
|
|
51067
|
-
"description": "A set of key/value pairs that will be preserved in any responses to this request. Useful for secondary identifiers.",
|
|
51068
|
-
"default": "{}"
|
|
51069
|
-
}, {
|
|
51070
|
-
"name": "merchant_of_record",
|
|
51071
|
-
"type": "merchant_of_record",
|
|
51072
|
-
"required": true,
|
|
51073
|
-
"attributes": [],
|
|
51074
|
-
"annotations": [],
|
|
51075
|
-
"default": "flow"
|
|
51076
|
-
}, {
|
|
51077
|
-
"name": "delivered_duty",
|
|
51078
|
-
"type": "delivered_duty",
|
|
51079
|
-
"required": true,
|
|
51080
|
-
"attributes": [],
|
|
51081
|
-
"annotations": [],
|
|
51082
|
-
"default": "paid"
|
|
51083
|
-
}, {
|
|
51084
|
-
"name": "destination",
|
|
51085
|
-
"type": "street_address",
|
|
51086
|
-
"required": true,
|
|
51087
|
-
"attributes": [],
|
|
51088
|
-
"annotations": [],
|
|
51089
|
-
"description": "Shipping address"
|
|
51090
|
-
}, {
|
|
51091
|
-
"name": "quote_date",
|
|
51092
|
-
"type": "date-time-iso8601",
|
|
51093
|
-
"required": true,
|
|
51094
|
-
"attributes": [],
|
|
51095
|
-
"annotations": [],
|
|
51096
|
-
"description": "Time to use for any rate locks and/or to qualify any tax rules for this calculation"
|
|
51097
|
-
}, {
|
|
51098
|
-
"name": "currency",
|
|
51099
|
-
"type": "string",
|
|
51100
|
-
"required": true,
|
|
51101
|
-
"attributes": [],
|
|
51102
|
-
"annotations": [],
|
|
51103
|
-
"description": "ISO-4217-3 code for the local currency."
|
|
51104
|
-
}, {
|
|
51105
|
-
"name": "lines",
|
|
51106
|
-
"type": "[tax_duty_quote_line_item]",
|
|
51107
|
-
"required": true,
|
|
51108
|
-
"attributes": [],
|
|
51109
|
-
"annotations": []
|
|
51110
|
-
}, {
|
|
51111
|
-
"name": "shipping",
|
|
51112
|
-
"type": "[tax_duty_quote_simple_shipping]",
|
|
51113
|
-
"required": true,
|
|
51114
|
-
"attributes": [],
|
|
51115
|
-
"annotations": [],
|
|
51116
|
-
"description": "Shipping charge(s) in local currency"
|
|
51117
|
-
}, {
|
|
51118
|
-
"name": "total_values",
|
|
51119
|
-
"type": "tax_duty_quote_values",
|
|
51120
|
-
"required": true,
|
|
51121
|
-
"attributes": [],
|
|
51122
|
-
"annotations": [],
|
|
51123
|
-
"description": "Total of all values. Base price and discount will be the sum of all unit values. Tax and duty may be recalculated and thus off by pennies due to rounding."
|
|
51124
|
-
}],
|
|
51125
|
-
"attributes": [],
|
|
51126
|
-
"interfaces": [],
|
|
51127
|
-
"description": "An order to have tax and duty calculated. Quote will provide all values in the local currency."
|
|
51128
|
-
}, {
|
|
51129
|
-
"name": "tax_duty_quote_fee_value",
|
|
51130
|
-
"plural": "tax_duty_quote_fee_values",
|
|
51131
|
-
"fields": [{
|
|
51132
|
-
"name": "amount",
|
|
51133
|
-
"type": "decimal",
|
|
51134
|
-
"required": true,
|
|
51135
|
-
"attributes": [],
|
|
51136
|
-
"annotations": [],
|
|
51137
|
-
"minimum": 0
|
|
51138
|
-
}, {
|
|
51139
|
-
"name": "description",
|
|
51140
|
-
"type": "string",
|
|
51141
|
-
"required": true,
|
|
51142
|
-
"attributes": [],
|
|
51143
|
-
"annotations": [],
|
|
51144
|
-
"description": "Description of the fee."
|
|
51145
|
-
}, {
|
|
51146
|
-
"name": "amount_refundable_on_return",
|
|
51147
|
-
"type": "decimal",
|
|
51148
|
-
"required": true,
|
|
51149
|
-
"attributes": [],
|
|
51150
|
-
"annotations": [],
|
|
51151
|
-
"description": "The amount that can be refunded after a completed shipment to a consumer. This will exclude one-time taxes, duties and fees paid to customs, which are generally not refunded by governements.",
|
|
51152
|
-
"minimum": 0
|
|
51153
|
-
}],
|
|
51154
|
-
"attributes": [],
|
|
51155
|
-
"interfaces": [],
|
|
51156
|
-
"description": "Value of a fee associated with customs or import."
|
|
51157
|
-
}, {
|
|
51158
|
-
"name": "tax_duty_quote_form",
|
|
51159
|
-
"plural": "tax_duty_quote_forms",
|
|
51160
|
-
"fields": [{
|
|
51161
|
-
"name": "primary_identifier",
|
|
51162
|
-
"type": "string",
|
|
51163
|
-
"required": true,
|
|
51164
|
-
"attributes": [],
|
|
51165
|
-
"annotations": [],
|
|
51166
|
-
"description": "A user supplied identifier that can be used to retrieve multiple requests in a single call. Examples include an order number or a cart or checkout identifier."
|
|
51167
|
-
}, {
|
|
51168
|
-
"name": "attributes",
|
|
51169
|
-
"type": "map[string]",
|
|
51170
|
-
"required": false,
|
|
51171
|
-
"attributes": [],
|
|
51172
|
-
"annotations": [],
|
|
51173
|
-
"description": "A set of key/value pairs that will be preserved in any responses to this request. Useful for secondary identifiers.",
|
|
51174
|
-
"default": "{}"
|
|
51175
|
-
}, {
|
|
51176
|
-
"name": "delivered_duty",
|
|
51177
|
-
"type": "delivered_duty",
|
|
51178
|
-
"required": true,
|
|
51179
|
-
"attributes": [],
|
|
51180
|
-
"annotations": [],
|
|
51181
|
-
"default": "paid"
|
|
51182
|
-
}, {
|
|
51183
|
-
"name": "destination",
|
|
51184
|
-
"type": "street_address",
|
|
51185
|
-
"required": true,
|
|
51186
|
-
"attributes": [],
|
|
51187
|
-
"annotations": [],
|
|
51188
|
-
"description": "Shipping address. At minimum country is required; depending on the jurisdiction, province, postal code and streets may also be required."
|
|
51189
|
-
}, {
|
|
51190
|
-
"name": "currency",
|
|
51191
|
-
"type": "string",
|
|
51192
|
-
"required": true,
|
|
51193
|
-
"attributes": [],
|
|
51194
|
-
"annotations": [],
|
|
51195
|
-
"description": "ISO-4217-3 code for the local currency. This is the currency the consumer will be paying in."
|
|
51196
|
-
}, {
|
|
51197
|
-
"name": "lines",
|
|
51198
|
-
"type": "[tax_duty_quote_line_item_form]",
|
|
51199
|
-
"required": true,
|
|
51200
|
-
"attributes": [],
|
|
51201
|
-
"annotations": [],
|
|
51202
|
-
"minimum": 1
|
|
51203
|
-
}, {
|
|
51204
|
-
"name": "shipping",
|
|
51205
|
-
"type": "[tax_duty_quote_simple_shipping_form]",
|
|
51206
|
-
"required": true,
|
|
51207
|
-
"attributes": [],
|
|
51208
|
-
"annotations": []
|
|
51209
|
-
}, {
|
|
51210
|
-
"name": "includes",
|
|
51211
|
-
"type": "[levy_inclusion]",
|
|
51212
|
-
"required": false,
|
|
51213
|
-
"attributes": [],
|
|
51214
|
-
"annotations": [],
|
|
51215
|
-
"description": "Indicators for tax and duty inclusive pricing.",
|
|
51216
|
-
"default": "[]"
|
|
51217
|
-
}],
|
|
51218
|
-
"attributes": [],
|
|
51219
|
-
"interfaces": [],
|
|
51220
|
-
"description": "Calculates tax and duty in two currencies, representing consumer and client values for an MoR sale. Preserves de minimis and LVG calculations from the consumer sale."
|
|
51221
|
-
}, {
|
|
51222
|
-
"name": "tax_duty_quote_line_item",
|
|
51223
|
-
"plural": "tax_duty_quote_line_items",
|
|
51224
|
-
"fields": [{
|
|
51225
|
-
"name": "primary_identifier",
|
|
51226
|
-
"type": "string",
|
|
51227
|
-
"required": true,
|
|
51228
|
-
"attributes": [],
|
|
51229
|
-
"annotations": [],
|
|
51230
|
-
"description": "A user supplied identifier that can be used to correlate a quote request line with a quote response line. Examples include an item number, variant id, line number or."
|
|
51231
|
-
}, {
|
|
51232
|
-
"name": "attributes",
|
|
51233
|
-
"type": "map[string]",
|
|
51234
|
-
"required": false,
|
|
51235
|
-
"attributes": [],
|
|
51236
|
-
"annotations": [],
|
|
51237
|
-
"description": "A set of key/value pairs that will be preserved in any responses to this request. Useful for secondary identifiers.",
|
|
51238
|
-
"default": "{}"
|
|
51239
|
-
}, {
|
|
51240
|
-
"name": "ship_from",
|
|
51241
|
-
"type": "street_address",
|
|
51242
|
-
"required": true,
|
|
51243
|
-
"attributes": [],
|
|
51244
|
-
"annotations": [],
|
|
51245
|
-
"description": "Ship-from address for this line."
|
|
51246
|
-
}, {
|
|
51247
|
-
"name": "quantity",
|
|
51248
|
-
"type": "long",
|
|
51249
|
-
"required": true,
|
|
51250
|
-
"attributes": [],
|
|
51251
|
-
"annotations": [],
|
|
51252
|
-
"minimum": 1
|
|
51253
|
-
}, {
|
|
51254
|
-
"name": "unit_values",
|
|
51255
|
-
"type": "tax_duty_quote_values",
|
|
51256
|
-
"required": true,
|
|
51257
|
-
"attributes": [],
|
|
51258
|
-
"annotations": [],
|
|
51259
|
-
"description": "The unit values for this line item. Multiply each by quantity to calculate the total values for this line"
|
|
51260
|
-
}, {
|
|
51261
|
-
"name": "country_of_origin",
|
|
51262
|
-
"type": "string",
|
|
51263
|
-
"required": true,
|
|
51264
|
-
"attributes": [],
|
|
51265
|
-
"annotations": [],
|
|
51266
|
-
"description": "ISO-3166-3 code for the country of manufacture for these goods"
|
|
51267
|
-
}, {
|
|
51268
|
-
"name": "hs_code",
|
|
51269
|
-
"type": "string",
|
|
51270
|
-
"required": true,
|
|
51271
|
-
"attributes": [],
|
|
51272
|
-
"annotations": [],
|
|
51273
|
-
"description": "HTS code for these goods"
|
|
51274
|
-
}],
|
|
51275
|
-
"attributes": [],
|
|
51276
|
-
"interfaces": [],
|
|
51277
|
-
"description": "An ordered quantity of goods for tax and duty calculation."
|
|
51278
|
-
}, {
|
|
51279
|
-
"name": "tax_duty_quote_line_item_form",
|
|
51280
|
-
"plural": "tax_duty_quote_line_item_forms",
|
|
51281
|
-
"fields": [{
|
|
51282
|
-
"name": "primary_identifier",
|
|
51283
|
-
"type": "string",
|
|
51284
|
-
"required": true,
|
|
51285
|
-
"attributes": [],
|
|
51286
|
-
"annotations": [],
|
|
51287
|
-
"description": "A user supplied identifier that can be used to correlate a quote request line with a quote response line. Examples include an item number, variant id, line number or."
|
|
51288
|
-
}, {
|
|
51289
|
-
"name": "attributes",
|
|
51290
|
-
"type": "map[string]",
|
|
51291
|
-
"required": false,
|
|
51292
|
-
"attributes": [],
|
|
51293
|
-
"annotations": [],
|
|
51294
|
-
"description": "A set of key/value pairs that will be preserved in any responses to this request. Useful for secondary identifiers.",
|
|
51295
|
-
"default": "{}"
|
|
51296
|
-
}, {
|
|
51297
|
-
"name": "ship_from",
|
|
51298
|
-
"type": "street_address",
|
|
51299
|
-
"required": true,
|
|
51300
|
-
"attributes": [],
|
|
51301
|
-
"annotations": [],
|
|
51302
|
-
"description": "Ship-from address for this line. Usually the address of the DC from which an order will be sourced. Country is required."
|
|
51303
|
-
}, {
|
|
51304
|
-
"name": "quantity",
|
|
51305
|
-
"type": "long",
|
|
51306
|
-
"required": true,
|
|
51307
|
-
"attributes": [],
|
|
51308
|
-
"annotations": [],
|
|
51309
|
-
"minimum": 1
|
|
51310
|
-
}, {
|
|
51311
|
-
"name": "unit_price",
|
|
51312
|
-
"type": "decimal",
|
|
51313
|
-
"required": true,
|
|
51314
|
-
"attributes": [],
|
|
51315
|
-
"annotations": [],
|
|
51316
|
-
"description": "The unit price of this line, in the local currency from the tax_duty_quote_form",
|
|
51317
|
-
"minimum": 0
|
|
51318
|
-
}, {
|
|
51319
|
-
"name": "unit_weight",
|
|
51320
|
-
"type": "measurement",
|
|
51321
|
-
"required": false,
|
|
51322
|
-
"attributes": [],
|
|
51323
|
-
"annotations": [],
|
|
51324
|
-
"description": "Packaged weight of one unit. Optional but strongly encouraged to ensure correct calculation. Must use a unit of weight; `kilogram` is suggested"
|
|
51325
|
-
}, {
|
|
51326
|
-
"name": "country_of_origin",
|
|
51327
|
-
"type": "string",
|
|
51328
|
-
"required": false,
|
|
51329
|
-
"attributes": [],
|
|
51330
|
-
"annotations": [],
|
|
51331
|
-
"description": "ISO-3166-3 code for the country of manufacture for these goods. If left blank, country of origin will be inferred using organization settings."
|
|
51332
|
-
}, {
|
|
51333
|
-
"name": "hs_code",
|
|
51334
|
-
"type": "string",
|
|
51335
|
-
"required": false,
|
|
51336
|
-
"attributes": [],
|
|
51337
|
-
"annotations": [],
|
|
51338
|
-
"description": "HTS code for these goods",
|
|
51339
|
-
"minimum": 4
|
|
51340
|
-
}, {
|
|
51341
|
-
"name": "includes",
|
|
51342
|
-
"type": "[levy_inclusion]",
|
|
51343
|
-
"required": true,
|
|
51344
|
-
"attributes": [],
|
|
51345
|
-
"annotations": [],
|
|
51346
|
-
"deprecation": {
|
|
51347
|
-
"description": "Replace with usage of 'includes' at the top level"
|
|
51348
|
-
},
|
|
51349
|
-
"default": "[]"
|
|
51350
|
-
}],
|
|
51351
|
-
"attributes": [],
|
|
51352
|
-
"interfaces": [],
|
|
51353
|
-
"description": "An ordered quantity of goods for tax and duty calculation. At least one of line_number, line_id, item_number or sku is required."
|
|
51354
|
-
}, {
|
|
51355
|
-
"name": "tax_duty_quote_simple_levy_value",
|
|
51356
|
-
"plural": "tax_duty_quote_simple_levy_values",
|
|
51357
|
-
"fields": [{
|
|
51358
|
-
"name": "amount",
|
|
51359
|
-
"type": "decimal",
|
|
51360
|
-
"required": true,
|
|
51361
|
-
"attributes": [],
|
|
51362
|
-
"annotations": [],
|
|
51363
|
-
"minimum": 0
|
|
51364
|
-
}, {
|
|
51365
|
-
"name": "rate",
|
|
51366
|
-
"type": "decimal",
|
|
51367
|
-
"required": true,
|
|
51368
|
-
"attributes": [],
|
|
51369
|
-
"annotations": [],
|
|
51370
|
-
"minimum": 0,
|
|
51371
|
-
"maximum": 1
|
|
51372
|
-
}, {
|
|
51373
|
-
"name": "description",
|
|
51374
|
-
"type": "string",
|
|
51375
|
-
"required": true,
|
|
51376
|
-
"attributes": [],
|
|
51377
|
-
"annotations": [],
|
|
51378
|
-
"description": "Description of the levies included cf `VAT`, `GST + PST`, `SALT`, `Erga Omnes duty`, `Fall Back Rate duty`"
|
|
51379
|
-
}, {
|
|
51380
|
-
"name": "zero_levy_reason",
|
|
51381
|
-
"type": "[zero_levy_reason_code]",
|
|
51382
|
-
"required": false,
|
|
51383
|
-
"attributes": [],
|
|
51384
|
-
"annotations": [],
|
|
51385
|
-
"description": "When no levy is owed, this enum explains why. There can be more than one reason for a 0 levy, such as no basis and a 0% rate.",
|
|
51386
|
-
"minimum": 0
|
|
51387
|
-
}, {
|
|
51388
|
-
"name": "amount_refundable_on_return",
|
|
51389
|
-
"type": "decimal",
|
|
51390
|
-
"required": true,
|
|
51391
|
-
"attributes": [],
|
|
51392
|
-
"annotations": [],
|
|
51393
|
-
"description": "The amount that can be refunded after a completed shipment to a consumer. This will exclude one-time taxes, duties and fees paid to customs, which are generally not refunded by governements.",
|
|
51394
|
-
"minimum": 0
|
|
51395
|
-
}],
|
|
51396
|
-
"attributes": [],
|
|
51397
|
-
"interfaces": ["tax_duty_quote_levy_value"],
|
|
51398
|
-
"description": "Value of a levy (tax or duty) with no additional detail."
|
|
51399
|
-
}, {
|
|
51400
|
-
"name": "tax_duty_quote_simple_shipping",
|
|
51401
|
-
"plural": "tax_duty_quote_simple_shippings",
|
|
51402
|
-
"fields": [{
|
|
51403
|
-
"name": "values",
|
|
51404
|
-
"type": "tax_duty_quote_values",
|
|
51405
|
-
"required": true,
|
|
51406
|
-
"attributes": [],
|
|
51407
|
-
"annotations": []
|
|
51408
|
-
}, {
|
|
51409
|
-
"name": "ship_from",
|
|
51410
|
-
"type": "street_address",
|
|
51411
|
-
"required": true,
|
|
51412
|
-
"attributes": [],
|
|
51413
|
-
"annotations": [],
|
|
51414
|
-
"description": "The ship-from address associated with this shipping charge. If omitted, this shipping charge will be assumed to apply to the first ship-from country in the list of items."
|
|
51415
|
-
}],
|
|
51416
|
-
"attributes": [],
|
|
51417
|
-
"interfaces": [],
|
|
51418
|
-
"description": "An ordered quantity of goods for tax and duty calculation."
|
|
51419
|
-
}, {
|
|
51420
|
-
"name": "tax_duty_quote_simple_shipping_form",
|
|
51421
|
-
"plural": "tax_duty_quote_simple_shipping_forms",
|
|
51422
|
-
"fields": [{
|
|
51423
|
-
"name": "price",
|
|
51424
|
-
"type": "decimal",
|
|
51425
|
-
"required": true,
|
|
51426
|
-
"attributes": [],
|
|
51427
|
-
"annotations": [],
|
|
51428
|
-
"description": "Shipping charge displayed to consumer in their local currency",
|
|
51429
|
-
"minimum": 0
|
|
51430
|
-
}, {
|
|
51431
|
-
"name": "includes",
|
|
51432
|
-
"type": "[levy_inclusion]",
|
|
51433
|
-
"required": true,
|
|
51434
|
-
"attributes": [],
|
|
51435
|
-
"annotations": [],
|
|
51436
|
-
"deprecation": {
|
|
51437
|
-
"description": "Replace with usage of 'includes' at the top level"
|
|
51438
|
-
},
|
|
51439
|
-
"default": "[]"
|
|
51440
|
-
}, {
|
|
51441
|
-
"name": "ship_from",
|
|
51442
|
-
"type": "street_address",
|
|
51443
|
-
"required": false,
|
|
51444
|
-
"attributes": [],
|
|
51445
|
-
"annotations": [],
|
|
51446
|
-
"description": "The ship-from address associated with this shipping charge. If omitted, this shipping charge will be assumed to apply to the first ship-from country in the list of items."
|
|
51447
|
-
}],
|
|
51448
|
-
"attributes": [],
|
|
51449
|
-
"interfaces": [],
|
|
51450
|
-
"description": "Shipping revenue paid by the consumer for a single shipping charge. If a shipping revenue line is not provided for any ship_from location, it will be assumed no shipping was collected for shipments from this location."
|
|
51451
|
-
}, {
|
|
51452
|
-
"name": "tax_duty_quote_values",
|
|
51453
|
-
"plural": "tax_duty_quote_values",
|
|
51454
|
-
"fields": [{
|
|
51455
|
-
"name": "price",
|
|
51456
|
-
"type": "decimal",
|
|
51457
|
-
"required": true,
|
|
51458
|
-
"attributes": [],
|
|
51459
|
-
"annotations": [],
|
|
51460
|
-
"description": "The calculated price exclusive of discounts.",
|
|
51461
|
-
"minimum": 0
|
|
51462
|
-
}, {
|
|
51463
|
-
"name": "duty",
|
|
51464
|
-
"type": "tax_duty_quote_simple_levy_value",
|
|
51465
|
-
"required": true,
|
|
51466
|
-
"attributes": [],
|
|
51467
|
-
"annotations": [],
|
|
51468
|
-
"description": "duty calculated on discounted price"
|
|
51469
|
-
}, {
|
|
51470
|
-
"name": "tax",
|
|
51471
|
-
"type": "tax_duty_quote_simple_levy_value",
|
|
51472
|
-
"required": true,
|
|
51473
|
-
"attributes": [],
|
|
51474
|
-
"annotations": [],
|
|
51475
|
-
"description": "Total tax calculated on discounted base price and duty on discounted price."
|
|
51476
|
-
}, {
|
|
51477
|
-
"name": "fees",
|
|
51478
|
-
"type": "tax_duty_quote_fee_value",
|
|
51479
|
-
"required": true,
|
|
51480
|
-
"attributes": [],
|
|
51481
|
-
"annotations": [],
|
|
51482
|
-
"description": "Total tax calculated on discounted base price and duty on discounted price."
|
|
51483
|
-
}, {
|
|
51484
|
-
"name": "total",
|
|
51485
|
-
"type": "decimal",
|
|
51486
|
-
"required": true,
|
|
51487
|
-
"attributes": [],
|
|
51488
|
-
"annotations": [],
|
|
51489
|
-
"description": "The calculated total.",
|
|
51490
|
-
"minimum": 0
|
|
51491
|
-
}],
|
|
51492
|
-
"attributes": [],
|
|
51493
|
-
"interfaces": []
|
|
51494
50711
|
}, {
|
|
51495
50712
|
"name": "tax_registration",
|
|
51496
50713
|
"plural": "tax_registrations",
|
|
@@ -52614,6 +51831,12 @@
|
|
|
52614
51831
|
"required": false,
|
|
52615
51832
|
"attributes": [],
|
|
52616
51833
|
"annotations": []
|
|
51834
|
+
}, {
|
|
51835
|
+
"name": "created_at",
|
|
51836
|
+
"type": "date-time-iso8601",
|
|
51837
|
+
"required": false,
|
|
51838
|
+
"attributes": [],
|
|
51839
|
+
"annotations": []
|
|
52617
51840
|
}],
|
|
52618
51841
|
"attributes": [],
|
|
52619
51842
|
"interfaces": []
|
|
@@ -78899,110 +78122,6 @@
|
|
|
78899
78122
|
}],
|
|
78900
78123
|
"path": "/reference/regions",
|
|
78901
78124
|
"description": "A region represents a geographic area of the world. Regions can be countries, continents or other political areas (like the Eurozone). See https://api.flow.io/reference/regions"
|
|
78902
|
-
}, {
|
|
78903
|
-
"type": "tax_duty_quote",
|
|
78904
|
-
"plural": "tax_duty_quotes",
|
|
78905
|
-
"operations": [{
|
|
78906
|
-
"method": "POST",
|
|
78907
|
-
"path": "/channel/:channel_id/organization/:organization_id/levy/quotes",
|
|
78908
|
-
"parameters": [{
|
|
78909
|
-
"name": "channel_id",
|
|
78910
|
-
"type": "string",
|
|
78911
|
-
"location": "Path",
|
|
78912
|
-
"required": true
|
|
78913
|
-
}, {
|
|
78914
|
-
"name": "organization_id",
|
|
78915
|
-
"type": "string",
|
|
78916
|
-
"location": "Path",
|
|
78917
|
-
"required": true
|
|
78918
|
-
}],
|
|
78919
|
-
"responses": [{
|
|
78920
|
-
"code": {
|
|
78921
|
-
"integer": {
|
|
78922
|
-
"value": 201
|
|
78923
|
-
}
|
|
78924
|
-
},
|
|
78925
|
-
"type": "tax_duty_quote",
|
|
78926
|
-
"description": "Operation succeeded and the resource was created",
|
|
78927
|
-
"attributes": []
|
|
78928
|
-
}, {
|
|
78929
|
-
"code": {
|
|
78930
|
-
"integer": {
|
|
78931
|
-
"value": 401
|
|
78932
|
-
}
|
|
78933
|
-
},
|
|
78934
|
-
"type": "unit",
|
|
78935
|
-
"description": "Authorization failed",
|
|
78936
|
-
"attributes": []
|
|
78937
|
-
}, {
|
|
78938
|
-
"code": {
|
|
78939
|
-
"integer": {
|
|
78940
|
-
"value": 422
|
|
78941
|
-
}
|
|
78942
|
-
},
|
|
78943
|
-
"type": "tax_duty_calculator_validation_error",
|
|
78944
|
-
"description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
|
|
78945
|
-
"attributes": []
|
|
78946
|
-
}],
|
|
78947
|
-
"attributes": [],
|
|
78948
|
-
"description": "Create and return a new tax duty quote.",
|
|
78949
|
-
"body": {
|
|
78950
|
-
"type": "tax_duty_quote_form",
|
|
78951
|
-
"attributes": []
|
|
78952
|
-
}
|
|
78953
|
-
}, {
|
|
78954
|
-
"method": "POST",
|
|
78955
|
-
"path": "/:organization/levy/quotes",
|
|
78956
|
-
"parameters": [{
|
|
78957
|
-
"name": "organization",
|
|
78958
|
-
"type": "string",
|
|
78959
|
-
"location": "Path",
|
|
78960
|
-
"required": true,
|
|
78961
|
-
"description": "Refers to your organization's account identifier"
|
|
78962
|
-
}],
|
|
78963
|
-
"responses": [{
|
|
78964
|
-
"code": {
|
|
78965
|
-
"integer": {
|
|
78966
|
-
"value": 201
|
|
78967
|
-
}
|
|
78968
|
-
},
|
|
78969
|
-
"type": "tax_duty_quote",
|
|
78970
|
-
"description": "Operation succeeded and the resource was created",
|
|
78971
|
-
"attributes": []
|
|
78972
|
-
}, {
|
|
78973
|
-
"code": {
|
|
78974
|
-
"integer": {
|
|
78975
|
-
"value": 401
|
|
78976
|
-
}
|
|
78977
|
-
},
|
|
78978
|
-
"type": "unit",
|
|
78979
|
-
"description": "Authorization failed",
|
|
78980
|
-
"attributes": []
|
|
78981
|
-
}, {
|
|
78982
|
-
"code": {
|
|
78983
|
-
"integer": {
|
|
78984
|
-
"value": 422
|
|
78985
|
-
}
|
|
78986
|
-
},
|
|
78987
|
-
"type": "tax_duty_calculator_validation_error",
|
|
78988
|
-
"description": "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
|
|
78989
|
-
"attributes": []
|
|
78990
|
-
}],
|
|
78991
|
-
"attributes": [],
|
|
78992
|
-
"description": "Create and return a new tax duty quote.",
|
|
78993
|
-
"body": {
|
|
78994
|
-
"type": "tax_duty_quote_form",
|
|
78995
|
-
"attributes": []
|
|
78996
|
-
}
|
|
78997
|
-
}],
|
|
78998
|
-
"attributes": [{
|
|
78999
|
-
"name": "docs",
|
|
79000
|
-
"value": {
|
|
79001
|
-
"module": "calculator"
|
|
79002
|
-
}
|
|
79003
|
-
}],
|
|
79004
|
-
"path": "",
|
|
79005
|
-
"description": "An order to have tax and duty calculated. Quote will provide all values in the local currency."
|
|
79006
78125
|
}, {
|
|
79007
78126
|
"type": "abandoned_order_promotion",
|
|
79008
78127
|
"plural": "abandoned_order_promotions",
|