peddler 5.1.0 → 5.3.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.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_ineligible_reason.rb +24 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/distribution_product.rb +24 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/outbound_shipment_summary.rb +30 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order.rb +48 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_creation_data.rb +21 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_listing.rb +24 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_order_reference.rb +18 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09/replenishment_preferences.rb +17 -0
- data/lib/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rb +70 -0
- data/lib/peddler/apis/finances_2024_06_19.rb +4 -4
- data/lib/peddler/apis/fulfillment_inbound_2024_03_20/item.rb +2 -1
- data/lib/peddler/apis/fulfillment_outbound_2020_07_01/drop_off_location.rb +2 -0
- data/lib/peddler/apis/invoices_2024_06_19/carrier_details_context.rb +38 -0
- data/lib/peddler/apis/invoices_2024_06_19/government_invoice_request.rb +36 -0
- data/lib/peddler/apis/invoices_2024_06_19/government_invoice_status_response.rb +23 -0
- data/lib/peddler/apis/invoices_2024_06_19/govt_invoice_document_response.rb +17 -0
- data/lib/peddler/apis/invoices_2024_06_19/invoice_document.rb +18 -0
- data/lib/peddler/apis/invoices_2024_06_19/invoice_error.rb +20 -0
- data/lib/peddler/apis/invoices_2024_06_19.rb +66 -0
- data/lib/peddler/apis/messaging_v1.rb +0 -20
- data/lib/peddler/apis/orders_2026_01_01/address_extended_fields.rb +29 -0
- data/lib/peddler/apis/orders_2026_01_01/alias.rb +22 -0
- data/lib/peddler/apis/orders_2026_01_01/associated_order.rb +22 -0
- data/lib/peddler/apis/orders_2026_01_01/business_hour.rb +22 -0
- data/lib/peddler/apis/orders_2026_01_01/buyer.rb +28 -0
- data/lib/peddler/apis/orders_2026_01_01/customer_address.rb +66 -0
- data/lib/peddler/apis/orders_2026_01_01/date_time_range.rb +23 -0
- data/lib/peddler/apis/orders_2026_01_01/delivery_preference.rb +28 -0
- data/lib/peddler/apis/orders_2026_01_01/error.rb +23 -0
- data/lib/peddler/apis/orders_2026_01_01/error_list.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/exception_date.rb +25 -0
- data/lib/peddler/apis/orders_2026_01_01/get_order_response.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/gift_option.rb +20 -0
- data/lib/peddler/apis/orders_2026_01_01/hour_minute.rb +20 -0
- data/lib/peddler/apis/orders_2026_01_01/item_cancellation.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_cancellation_request.rb +22 -0
- data/lib/peddler/apis/orders_2026_01_01/item_condition.rb +30 -0
- data/lib/peddler/apis/orders_2026_01_01/item_customization.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_expense.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_fulfillment.rb +29 -0
- data/lib/peddler/apis/orders_2026_01_01/item_international_shipping.rb +19 -0
- data/lib/peddler/apis/orders_2026_01_01/item_packing.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_picking.rb +18 -0
- data/lib/peddler/apis/orders_2026_01_01/item_points_cost.rb +18 -0
- data/lib/peddler/apis/orders_2026_01_01/item_price.rb +24 -0
- data/lib/peddler/apis/orders_2026_01_01/item_proceeds.rb +20 -0
- data/lib/peddler/apis/orders_2026_01_01/item_proceeds_breakdown.rb +25 -0
- data/lib/peddler/apis/orders_2026_01_01/item_proceeds_detailed_breakdown.rb +23 -0
- data/lib/peddler/apis/orders_2026_01_01/item_product.rb +36 -0
- data/lib/peddler/apis/orders_2026_01_01/item_promotion.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_promotion_breakdown.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/item_shipping.rb +24 -0
- data/lib/peddler/apis/orders_2026_01_01/item_shipping_constraints.rb +30 -0
- data/lib/peddler/apis/orders_2026_01_01/item_substitution_option.rb +30 -0
- data/lib/peddler/apis/orders_2026_01_01/item_substitution_preference.rb +21 -0
- data/lib/peddler/apis/orders_2026_01_01/measurement.rb +21 -0
- data/lib/peddler/apis/orders_2026_01_01/merchant_address.rb +44 -0
- data/lib/peddler/apis/orders_2026_01_01/order.rb +63 -0
- data/lib/peddler/apis/orders_2026_01_01/order_fulfillment.rb +37 -0
- data/lib/peddler/apis/orders_2026_01_01/order_item.rb +48 -0
- data/lib/peddler/apis/orders_2026_01_01/order_package.rb +47 -0
- data/lib/peddler/apis/orders_2026_01_01/order_proceeds.rb +17 -0
- data/lib/peddler/apis/orders_2026_01_01/package_item.rb +23 -0
- data/lib/peddler/apis/orders_2026_01_01/package_status.rb +32 -0
- data/lib/peddler/apis/orders_2026_01_01/pagination.rb +22 -0
- data/lib/peddler/apis/orders_2026_01_01/points_granted.rb +20 -0
- data/lib/peddler/apis/orders_2026_01_01/preferred_delivery_time.rb +21 -0
- data/lib/peddler/apis/orders_2026_01_01/recipient.rb +21 -0
- data/lib/peddler/apis/orders_2026_01_01/sales_channel.rb +26 -0
- data/lib/peddler/apis/orders_2026_01_01/search_orders_response.rb +35 -0
- data/lib/peddler/apis/orders_2026_01_01/time_window.rb +20 -0
- data/lib/peddler/apis/orders_2026_01_01.rb +93 -0
- data/lib/peddler/apis/orders_v0.rb +2 -2
- data/lib/peddler/apis/product_pricing_v0/get_offers_result.rb +3 -3
- data/lib/peddler/apis/vendor_shipments_v1/item_details.rb +16 -0
- data/lib/peddler/apis/vendor_shipments_v1/package_item_details.rb +0 -16
- data/lib/peddler/apis/vendor_shipments_v1/regulation_references.rb +9 -11
- data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_asin_sales.rb +37 -0
- data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_sales.rb +40 -8
- data/lib/peddler/data_kiosk/sales_and_traffic20240424/by_date_traffic.rb +19 -6
- data/lib/peddler/data_kiosk/sales_and_traffic20240424.json +273 -13
- data/lib/peddler/notifications/any_offer_changed/notification.rb +3 -3
- data/lib/peddler/notifications/b2b_any_offer_changed/b2b_any_offer_changed_notification.rb +6 -6
- data/lib/peddler/notifications/b2b_any_offer_changed/buy_box_price.rb +12 -9
- data/lib/peddler/notifications/b2b_any_offer_changed/lowest_price.rb +11 -8
- data/lib/peddler/notifications/b2b_any_offer_changed/notification.rb +10 -13
- data/lib/peddler/notifications/b2b_any_offer_changed/notification_metadata.rb +8 -8
- data/lib/peddler/notifications/b2b_any_offer_changed/offer.rb +25 -23
- data/lib/peddler/notifications/b2b_any_offer_changed/offer_change_trigger.rb +9 -9
- data/lib/peddler/notifications/b2b_any_offer_changed/offer_count.rb +4 -4
- data/lib/peddler/notifications/b2b_any_offer_changed/payload.rb +2 -2
- data/lib/peddler/notifications/b2b_any_offer_changed/points.rb +16 -0
- data/lib/peddler/notifications/b2b_any_offer_changed/prime_information.rb +4 -4
- data/lib/peddler/notifications/b2b_any_offer_changed/quantity_discount_price_type.rb +3 -3
- data/lib/peddler/notifications/b2b_any_offer_changed/seller_feedback_rating.rb +4 -4
- data/lib/peddler/notifications/b2b_any_offer_changed/shipping_time.rb +9 -9
- data/lib/peddler/notifications/b2b_any_offer_changed/ships_from.rb +4 -1
- data/lib/peddler/notifications/b2b_any_offer_changed/summary.rb +8 -8
- data/lib/peddler/version.rb +1 -1
- data/lib/peddler.rb +2 -1
- data/sig/peddler/apis/amazon_warehousing_and_distribution_2024_05_09.rbs +153 -0
- data/sig/peddler/apis/invoices_2024_06_19.rbs +115 -0
- data/sig/peddler/apis/messaging_v1.rbs +0 -34
- data/sig/peddler/apis/orders_2026_01_01.rbs +940 -0
- data/sig/peddler/apis/product_pricing_v0.rbs +7 -7
- data/sig/peddler/apis/vendor_shipments_v1.rbs +18 -18
- data/sig/peddler/data_kiosk/sales_and_traffic20240424.rbs +41 -21
- data/sig/peddler/notifications/any_offer_changed.rbs +7 -7
- data/sig/peddler/notifications/b2b_any_offer_changed.rbs +58 -38
- data/sig/peddler.rbs +3 -1
- metadata +69 -12
- data/lib/peddler/apis/messaging_v1/create_amazon_motors_request.rb +0 -19
- data/lib/peddler/apis/messaging_v1/create_amazon_motors_response.rb +0 -17
- data/lib/peddler/notifications/mfn_order_status_change/notification.rb +0 -32
- data/lib/peddler/notifications/mfn_order_status_change/payload.rb +0 -17
- data/lib/peddler/notifications/mfn_order_status_change.rb +0 -18
- data/lib/peddler/notifications/order_status_change/notification.rb +0 -32
- data/lib/peddler/notifications/order_status_change/order_status_change_notification.rb +0 -48
- data/lib/peddler/notifications/order_status_change/payload.rb +0 -17
- data/lib/peddler/notifications/order_status_change.rb +0 -18
- data/sig/peddler/notifications/mfn_order_status_change.rbs +0 -44
- data/sig/peddler/notifications/order_status_change.rbs +0 -70
|
@@ -390,6 +390,90 @@
|
|
|
390
390
|
"isDeprecated": false,
|
|
391
391
|
"deprecationReason": null
|
|
392
392
|
},
|
|
393
|
+
{
|
|
394
|
+
"name": "ordersShipped",
|
|
395
|
+
"description": "The number of orders shipped for the selected time period.",
|
|
396
|
+
"args": [],
|
|
397
|
+
"type": {
|
|
398
|
+
"kind": "NON_NULL",
|
|
399
|
+
"name": null,
|
|
400
|
+
"ofType": {
|
|
401
|
+
"kind": "SCALAR",
|
|
402
|
+
"name": "Long",
|
|
403
|
+
"ofType": null
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"isDeprecated": false,
|
|
407
|
+
"deprecationReason": null
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "ordersShippedB2B",
|
|
411
|
+
"description": "The number of orders shipped to Amazon Business customers for the selected\ntime period. Note: This field is only populated when the seller is a B2B seller.",
|
|
412
|
+
"args": [],
|
|
413
|
+
"type": {
|
|
414
|
+
"kind": "SCALAR",
|
|
415
|
+
"name": "Long",
|
|
416
|
+
"ofType": null
|
|
417
|
+
},
|
|
418
|
+
"isDeprecated": false,
|
|
419
|
+
"deprecationReason": null
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "refundRate",
|
|
423
|
+
"description": "The percentage conversion metric indicating how many orders were refunded,\ncalculated by dividing unitsRefunded by unitsOrdered for the selected time period.",
|
|
424
|
+
"args": [],
|
|
425
|
+
"type": {
|
|
426
|
+
"kind": "NON_NULL",
|
|
427
|
+
"name": null,
|
|
428
|
+
"ofType": {
|
|
429
|
+
"kind": "SCALAR",
|
|
430
|
+
"name": "Float",
|
|
431
|
+
"ofType": null
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"isDeprecated": false,
|
|
435
|
+
"deprecationReason": null
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "refundRateB2B",
|
|
439
|
+
"description": "The percentage conversion metric indicating how many orders were refunded by\nAmazon Business customers, calculated by dividing unitsRefundedB2B by\nunitsOrderedB2B for the selected time period. Note: This field is only\npopulated when the seller is a B2B seller.",
|
|
440
|
+
"args": [],
|
|
441
|
+
"type": {
|
|
442
|
+
"kind": "SCALAR",
|
|
443
|
+
"name": "Float",
|
|
444
|
+
"ofType": null
|
|
445
|
+
},
|
|
446
|
+
"isDeprecated": false,
|
|
447
|
+
"deprecationReason": null
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "shippedProductSales",
|
|
451
|
+
"description": "The amount of ordered product sales shipped for the selected time period.",
|
|
452
|
+
"args": [],
|
|
453
|
+
"type": {
|
|
454
|
+
"kind": "NON_NULL",
|
|
455
|
+
"name": null,
|
|
456
|
+
"ofType": {
|
|
457
|
+
"kind": "OBJECT",
|
|
458
|
+
"name": "Amount",
|
|
459
|
+
"ofType": null
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
"isDeprecated": false,
|
|
463
|
+
"deprecationReason": null
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "shippedProductSalesB2B",
|
|
467
|
+
"description": "The amount of ordered product sales shipped to Amazon Business customers for\nthe selected time period. Note: This field is only populated when the seller\nis a B2B seller.",
|
|
468
|
+
"args": [],
|
|
469
|
+
"type": {
|
|
470
|
+
"kind": "OBJECT",
|
|
471
|
+
"name": "Amount",
|
|
472
|
+
"ofType": null
|
|
473
|
+
},
|
|
474
|
+
"isDeprecated": false,
|
|
475
|
+
"deprecationReason": null
|
|
476
|
+
},
|
|
393
477
|
{
|
|
394
478
|
"name": "totalOrderItems",
|
|
395
479
|
"description": "The number of items that were ordered for the selected time period.",
|
|
@@ -445,6 +529,62 @@
|
|
|
445
529
|
},
|
|
446
530
|
"isDeprecated": false,
|
|
447
531
|
"deprecationReason": null
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "unitsRefunded",
|
|
535
|
+
"description": "The number of units refunded for the selected time period.",
|
|
536
|
+
"args": [],
|
|
537
|
+
"type": {
|
|
538
|
+
"kind": "NON_NULL",
|
|
539
|
+
"name": null,
|
|
540
|
+
"ofType": {
|
|
541
|
+
"kind": "SCALAR",
|
|
542
|
+
"name": "Long",
|
|
543
|
+
"ofType": null
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"isDeprecated": false,
|
|
547
|
+
"deprecationReason": null
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "unitsRefundedB2B",
|
|
551
|
+
"description": "The number of units refunded by Amazon Business customers for the selected\ntime period. Note: This field is only populated when the seller is a B2B seller.",
|
|
552
|
+
"args": [],
|
|
553
|
+
"type": {
|
|
554
|
+
"kind": "SCALAR",
|
|
555
|
+
"name": "Long",
|
|
556
|
+
"ofType": null
|
|
557
|
+
},
|
|
558
|
+
"isDeprecated": false,
|
|
559
|
+
"deprecationReason": null
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "unitsShipped",
|
|
563
|
+
"description": "The number of units shipped for the selected time period.",
|
|
564
|
+
"args": [],
|
|
565
|
+
"type": {
|
|
566
|
+
"kind": "NON_NULL",
|
|
567
|
+
"name": null,
|
|
568
|
+
"ofType": {
|
|
569
|
+
"kind": "SCALAR",
|
|
570
|
+
"name": "Long",
|
|
571
|
+
"ofType": null
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
"isDeprecated": false,
|
|
575
|
+
"deprecationReason": null
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "unitsShippedB2B",
|
|
579
|
+
"description": "The number of units shipped to Amazon Business customers for the selected time\nperiod. Note: This field is only populated when the seller is a B2B seller.",
|
|
580
|
+
"args": [],
|
|
581
|
+
"type": {
|
|
582
|
+
"kind": "SCALAR",
|
|
583
|
+
"name": "Long",
|
|
584
|
+
"ofType": null
|
|
585
|
+
},
|
|
586
|
+
"isDeprecated": false,
|
|
587
|
+
"deprecationReason": null
|
|
448
588
|
}
|
|
449
589
|
],
|
|
450
590
|
"inputFields": null,
|
|
@@ -890,7 +1030,7 @@
|
|
|
890
1030
|
},
|
|
891
1031
|
{
|
|
892
1032
|
"name": "averageSellingPrice",
|
|
893
|
-
"description": "The average price of the units sold
|
|
1033
|
+
"description": "The average price of the units sold for the selected time period, calculated\nby dividing the orderedProductSales by unitsOrdered for the selected time period.",
|
|
894
1034
|
"args": [],
|
|
895
1035
|
"type": {
|
|
896
1036
|
"kind": "NON_NULL",
|
|
@@ -960,6 +1100,18 @@
|
|
|
960
1100
|
"isDeprecated": false,
|
|
961
1101
|
"deprecationReason": null
|
|
962
1102
|
},
|
|
1103
|
+
{
|
|
1104
|
+
"name": "claimsAmountB2B",
|
|
1105
|
+
"description": "Monetary amount of filed A-to-z guarantee claims for Amazon Business\ncustomers. Note: This field is only populated when the seller is a B2B seller.",
|
|
1106
|
+
"args": [],
|
|
1107
|
+
"type": {
|
|
1108
|
+
"kind": "OBJECT",
|
|
1109
|
+
"name": "Amount",
|
|
1110
|
+
"ofType": null
|
|
1111
|
+
},
|
|
1112
|
+
"isDeprecated": false,
|
|
1113
|
+
"deprecationReason": null
|
|
1114
|
+
},
|
|
963
1115
|
{
|
|
964
1116
|
"name": "claimsGranted",
|
|
965
1117
|
"description": "The number of A-to-z guarantee claims granted.",
|
|
@@ -976,6 +1128,18 @@
|
|
|
976
1128
|
"isDeprecated": false,
|
|
977
1129
|
"deprecationReason": null
|
|
978
1130
|
},
|
|
1131
|
+
{
|
|
1132
|
+
"name": "claimsGrantedB2B",
|
|
1133
|
+
"description": "The number of A-to-z guarantee claims granted for Amazon Business customers.\nNote: This field is only populated when the seller is a B2B seller.",
|
|
1134
|
+
"args": [],
|
|
1135
|
+
"type": {
|
|
1136
|
+
"kind": "SCALAR",
|
|
1137
|
+
"name": "Long",
|
|
1138
|
+
"ofType": null
|
|
1139
|
+
},
|
|
1140
|
+
"isDeprecated": false,
|
|
1141
|
+
"deprecationReason": null
|
|
1142
|
+
},
|
|
979
1143
|
{
|
|
980
1144
|
"name": "orderedProductSales",
|
|
981
1145
|
"description": "The amount of ordered product sales, calculated by multiplying the price of\nproducts and the number of units sold for the selected time period.",
|
|
@@ -994,7 +1158,7 @@
|
|
|
994
1158
|
},
|
|
995
1159
|
{
|
|
996
1160
|
"name": "orderedProductSalesB2B",
|
|
997
|
-
"description": "The amount of ordered product sales to Amazon Business customers, calculated\nby multiplying the price of products and the number of units sold for the\nselected time period.",
|
|
1161
|
+
"description": "The amount of ordered product sales to Amazon Business customers, calculated\nby multiplying the price of products and the number of units sold for the\nselected time period. Note: This field is only populated when the seller is a B2B seller.",
|
|
998
1162
|
"args": [],
|
|
999
1163
|
"type": {
|
|
1000
1164
|
"kind": "OBJECT",
|
|
@@ -1006,7 +1170,7 @@
|
|
|
1006
1170
|
},
|
|
1007
1171
|
{
|
|
1008
1172
|
"name": "ordersShipped",
|
|
1009
|
-
"description": "The number of orders shipped
|
|
1173
|
+
"description": "The number of orders shipped for the selected time period.",
|
|
1010
1174
|
"args": [],
|
|
1011
1175
|
"type": {
|
|
1012
1176
|
"kind": "NON_NULL",
|
|
@@ -1020,9 +1184,21 @@
|
|
|
1020
1184
|
"isDeprecated": false,
|
|
1021
1185
|
"deprecationReason": null
|
|
1022
1186
|
},
|
|
1187
|
+
{
|
|
1188
|
+
"name": "ordersShippedB2B",
|
|
1189
|
+
"description": "The number of orders shipped to Amazon Business customers for the selected\ntime period. Note: This field is only populated when the seller is a B2B seller.",
|
|
1190
|
+
"args": [],
|
|
1191
|
+
"type": {
|
|
1192
|
+
"kind": "SCALAR",
|
|
1193
|
+
"name": "Long",
|
|
1194
|
+
"ofType": null
|
|
1195
|
+
},
|
|
1196
|
+
"isDeprecated": false,
|
|
1197
|
+
"deprecationReason": null
|
|
1198
|
+
},
|
|
1023
1199
|
{
|
|
1024
1200
|
"name": "refundRate",
|
|
1025
|
-
"description": "The percentage conversion metric indicating how many orders were refunded by\nthe seller, calculated by dividing
|
|
1201
|
+
"description": "The percentage conversion metric indicating how many orders were refunded by\nthe seller, calculated by dividing unitsRefunded by unitsOrdered for the\nselected time period.",
|
|
1026
1202
|
"args": [],
|
|
1027
1203
|
"type": {
|
|
1028
1204
|
"kind": "NON_NULL",
|
|
@@ -1036,6 +1212,18 @@
|
|
|
1036
1212
|
"isDeprecated": false,
|
|
1037
1213
|
"deprecationReason": null
|
|
1038
1214
|
},
|
|
1215
|
+
{
|
|
1216
|
+
"name": "refundRateB2B",
|
|
1217
|
+
"description": "The percentage conversion metric indicating how many orders were refunded by\nAmazon Business customers, calculated by dividing unitsRefundedB2B by\nunitsOrderedB2B for the selected time period. Note: This field is only\npopulated when the seller is a B2B seller.",
|
|
1218
|
+
"args": [],
|
|
1219
|
+
"type": {
|
|
1220
|
+
"kind": "SCALAR",
|
|
1221
|
+
"name": "Float",
|
|
1222
|
+
"ofType": null
|
|
1223
|
+
},
|
|
1224
|
+
"isDeprecated": false,
|
|
1225
|
+
"deprecationReason": null
|
|
1226
|
+
},
|
|
1039
1227
|
{
|
|
1040
1228
|
"name": "shippedProductSales",
|
|
1041
1229
|
"description": "The amount of ordered product sales shipped for the selected time period.",
|
|
@@ -1052,6 +1240,18 @@
|
|
|
1052
1240
|
"isDeprecated": false,
|
|
1053
1241
|
"deprecationReason": null
|
|
1054
1242
|
},
|
|
1243
|
+
{
|
|
1244
|
+
"name": "shippedProductSalesB2B",
|
|
1245
|
+
"description": "The amount of ordered product sales shipped to Amazon Business customers for\nthe selected time period. Note: This field is only populated when the seller\nis a B2B seller.",
|
|
1246
|
+
"args": [],
|
|
1247
|
+
"type": {
|
|
1248
|
+
"kind": "OBJECT",
|
|
1249
|
+
"name": "Amount",
|
|
1250
|
+
"ofType": null
|
|
1251
|
+
},
|
|
1252
|
+
"isDeprecated": false,
|
|
1253
|
+
"deprecationReason": null
|
|
1254
|
+
},
|
|
1055
1255
|
{
|
|
1056
1256
|
"name": "totalOrderItems",
|
|
1057
1257
|
"description": "The number of items that were ordered for the selected time period. Example:\nFor an order containing 2 copies of book A and 3 copies of book B, the number\nof orders is 1, the number of order items is 2 (book A and book B), and the\nnumber of units is 5 (2 + 3).",
|
|
@@ -1070,7 +1270,7 @@
|
|
|
1070
1270
|
},
|
|
1071
1271
|
{
|
|
1072
1272
|
"name": "totalOrderItemsB2B",
|
|
1073
|
-
"description": "The number of items that were ordered by Amazon Business customers for the\nselected time period. Example: For an order containing 2 copies of book A and\n3 copies of book B, the number of orders is 1, the number of order items is 2\n(book A and book B), and the number of units is 5 (2 + 3).",
|
|
1273
|
+
"description": "The number of items that were ordered by Amazon Business customers for the\nselected time period. Example: For an order containing 2 copies of book A and\n3 copies of book B, the number of orders is 1, the number of order items is 2\n(book A and book B), and the number of units is 5 (2 + 3). Note: This field is\nonly populated when the seller is a B2B seller.",
|
|
1074
1274
|
"args": [],
|
|
1075
1275
|
"type": {
|
|
1076
1276
|
"kind": "SCALAR",
|
|
@@ -1098,7 +1298,7 @@
|
|
|
1098
1298
|
},
|
|
1099
1299
|
{
|
|
1100
1300
|
"name": "unitsOrderedB2B",
|
|
1101
|
-
"description": "The number of units ordered by Amazon Business customers for the selected time\nperiod. Example: For an order containing 2 copies of book A and 3 copies of\nbook B, the number of orders is 1, the number of order items is 2 (book A and\nbook B), and the number of units is 5 (2 + 3).",
|
|
1301
|
+
"description": "The number of units ordered by Amazon Business customers for the selected time\nperiod. Example: For an order containing 2 copies of book A and 3 copies of\nbook B, the number of orders is 1, the number of order items is 2 (book A and\nbook B), and the number of units is 5 (2 + 3). Note: This field is only\npopulated when the seller is a B2B seller.",
|
|
1102
1302
|
"args": [],
|
|
1103
1303
|
"type": {
|
|
1104
1304
|
"kind": "SCALAR",
|
|
@@ -1110,7 +1310,7 @@
|
|
|
1110
1310
|
},
|
|
1111
1311
|
{
|
|
1112
1312
|
"name": "unitsRefunded",
|
|
1113
|
-
"description": "The number of units refunded
|
|
1313
|
+
"description": "The number of units refunded for the selected time period.",
|
|
1114
1314
|
"args": [],
|
|
1115
1315
|
"type": {
|
|
1116
1316
|
"kind": "NON_NULL",
|
|
@@ -1124,9 +1324,21 @@
|
|
|
1124
1324
|
"isDeprecated": false,
|
|
1125
1325
|
"deprecationReason": null
|
|
1126
1326
|
},
|
|
1327
|
+
{
|
|
1328
|
+
"name": "unitsRefundedB2B",
|
|
1329
|
+
"description": "The number of units refunded by Amazon Business customers for the selected\ntime period. Note: This field is only populated when the seller is a B2B seller.",
|
|
1330
|
+
"args": [],
|
|
1331
|
+
"type": {
|
|
1332
|
+
"kind": "SCALAR",
|
|
1333
|
+
"name": "Long",
|
|
1334
|
+
"ofType": null
|
|
1335
|
+
},
|
|
1336
|
+
"isDeprecated": false,
|
|
1337
|
+
"deprecationReason": null
|
|
1338
|
+
},
|
|
1127
1339
|
{
|
|
1128
1340
|
"name": "unitsShipped",
|
|
1129
|
-
"description": "The number of units shipped
|
|
1341
|
+
"description": "The number of units shipped for the selected time period.",
|
|
1130
1342
|
"args": [],
|
|
1131
1343
|
"type": {
|
|
1132
1344
|
"kind": "NON_NULL",
|
|
@@ -1139,6 +1351,18 @@
|
|
|
1139
1351
|
},
|
|
1140
1352
|
"isDeprecated": false,
|
|
1141
1353
|
"deprecationReason": null
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"name": "unitsShippedB2B",
|
|
1357
|
+
"description": "The number of units shipped to Amazon Business customers for the selected time\nperiod. Note: This field is only populated when the seller is a B2B seller.",
|
|
1358
|
+
"args": [],
|
|
1359
|
+
"type": {
|
|
1360
|
+
"kind": "SCALAR",
|
|
1361
|
+
"name": "Long",
|
|
1362
|
+
"ofType": null
|
|
1363
|
+
},
|
|
1364
|
+
"isDeprecated": false,
|
|
1365
|
+
"deprecationReason": null
|
|
1142
1366
|
}
|
|
1143
1367
|
],
|
|
1144
1368
|
"inputFields": null,
|
|
@@ -1153,7 +1377,7 @@
|
|
|
1153
1377
|
"fields": [
|
|
1154
1378
|
{
|
|
1155
1379
|
"name": "averageOfferCount",
|
|
1156
|
-
"description": "The average number of offers listed for sale
|
|
1380
|
+
"description": "The average number of offers listed for sale for the selected time period. It\nis calculated from the total number of offers and the total number of days for\nthe selected time period.",
|
|
1157
1381
|
"args": [],
|
|
1158
1382
|
"type": {
|
|
1159
1383
|
"kind": "NON_NULL",
|
|
@@ -1169,7 +1393,7 @@
|
|
|
1169
1393
|
},
|
|
1170
1394
|
{
|
|
1171
1395
|
"name": "averageParentItems",
|
|
1172
|
-
"description": "The average number of parent items listed for sale
|
|
1396
|
+
"description": "The average number of parent items listed for sale for the selected time period.",
|
|
1173
1397
|
"args": [],
|
|
1174
1398
|
"type": {
|
|
1175
1399
|
"kind": "NON_NULL",
|
|
@@ -1269,7 +1493,7 @@
|
|
|
1269
1493
|
},
|
|
1270
1494
|
{
|
|
1271
1495
|
"name": "feedbackReceived",
|
|
1272
|
-
"description": "The number of times customers left feedback
|
|
1496
|
+
"description": "The number of times customers left feedback for the selected time period.",
|
|
1273
1497
|
"args": [],
|
|
1274
1498
|
"type": {
|
|
1275
1499
|
"kind": "NON_NULL",
|
|
@@ -1283,6 +1507,18 @@
|
|
|
1283
1507
|
"isDeprecated": false,
|
|
1284
1508
|
"deprecationReason": null
|
|
1285
1509
|
},
|
|
1510
|
+
{
|
|
1511
|
+
"name": "feedbackReceivedB2B",
|
|
1512
|
+
"description": "The number of times Amazon Business customers left feedback for the selected\ntime period. Note: This field is only populated when the seller is a B2B seller.",
|
|
1513
|
+
"args": [],
|
|
1514
|
+
"type": {
|
|
1515
|
+
"kind": "SCALAR",
|
|
1516
|
+
"name": "Long",
|
|
1517
|
+
"ofType": null
|
|
1518
|
+
},
|
|
1519
|
+
"isDeprecated": false,
|
|
1520
|
+
"deprecationReason": null
|
|
1521
|
+
},
|
|
1286
1522
|
{
|
|
1287
1523
|
"name": "mobileAppPageViews",
|
|
1288
1524
|
"description": "Mobile app page views are the number of times a user visited your Amazon.com\nmobile app pages for the selected time period.",
|
|
@@ -1341,7 +1577,7 @@
|
|
|
1341
1577
|
},
|
|
1342
1578
|
{
|
|
1343
1579
|
"name": "negativeFeedbackReceived",
|
|
1344
|
-
"description": "The number of times customers left negative feedback
|
|
1580
|
+
"description": "The number of times customers left negative feedback for the selected time period.",
|
|
1345
1581
|
"args": [],
|
|
1346
1582
|
"type": {
|
|
1347
1583
|
"kind": "NON_NULL",
|
|
@@ -1355,6 +1591,18 @@
|
|
|
1355
1591
|
"isDeprecated": false,
|
|
1356
1592
|
"deprecationReason": null
|
|
1357
1593
|
},
|
|
1594
|
+
{
|
|
1595
|
+
"name": "negativeFeedbackReceivedB2B",
|
|
1596
|
+
"description": "The number of times Amazon Business customers left negative feedback for the\nselected time period. Note: This field is only populated when the seller is a B2B seller.",
|
|
1597
|
+
"args": [],
|
|
1598
|
+
"type": {
|
|
1599
|
+
"kind": "SCALAR",
|
|
1600
|
+
"name": "Long",
|
|
1601
|
+
"ofType": null
|
|
1602
|
+
},
|
|
1603
|
+
"isDeprecated": false,
|
|
1604
|
+
"deprecationReason": null
|
|
1605
|
+
},
|
|
1358
1606
|
{
|
|
1359
1607
|
"name": "orderItemSessionPercentage",
|
|
1360
1608
|
"description": "The percentage conversion metric indicating how many order items were\ngenerated relative to the number of people who viewed the products.",
|
|
@@ -1413,7 +1661,7 @@
|
|
|
1413
1661
|
},
|
|
1414
1662
|
{
|
|
1415
1663
|
"name": "receivedNegativeFeedbackRate",
|
|
1416
|
-
"description": "The negative feedback rate is the number of orders that have received negative\nfeedback divided by the number of orders
|
|
1664
|
+
"description": "The negative feedback rate is the number of orders that have received negative\nfeedback divided by the number of orders for the selected time period.",
|
|
1417
1665
|
"args": [],
|
|
1418
1666
|
"type": {
|
|
1419
1667
|
"kind": "NON_NULL",
|
|
@@ -1427,6 +1675,18 @@
|
|
|
1427
1675
|
"isDeprecated": false,
|
|
1428
1676
|
"deprecationReason": null
|
|
1429
1677
|
},
|
|
1678
|
+
{
|
|
1679
|
+
"name": "receivedNegativeFeedbackRateB2B",
|
|
1680
|
+
"description": "The negative feedback rate for Amazon Business customers is the number of\norders that have received negative feedback divided by the number of orders\nfor the selected time period. Note: This field is only populated when the\nseller is a B2B seller.",
|
|
1681
|
+
"args": [],
|
|
1682
|
+
"type": {
|
|
1683
|
+
"kind": "SCALAR",
|
|
1684
|
+
"name": "Float",
|
|
1685
|
+
"ofType": null
|
|
1686
|
+
},
|
|
1687
|
+
"isDeprecated": false,
|
|
1688
|
+
"deprecationReason": null
|
|
1689
|
+
},
|
|
1430
1690
|
{
|
|
1431
1691
|
"name": "sessions",
|
|
1432
1692
|
"description": "Sessions are visits to your Amazon.com browser or mobile app pages by a user.\nAll browser and mobile app activity within a 24-hour period is considered a\nsession. It is calculated as the sum of browserSessions and mobileAppSessions.",
|
|
@@ -18,14 +18,14 @@ module Peddler
|
|
|
18
18
|
# @return [String]
|
|
19
19
|
attribute(:notification_type, String, from: "NotificationType")
|
|
20
20
|
|
|
21
|
+
# @return [String]
|
|
22
|
+
attribute(:notification_version, String, from: "NotificationVersion")
|
|
23
|
+
|
|
21
24
|
# @return [Payload]
|
|
22
25
|
attribute(:payload, Payload, from: "Payload")
|
|
23
26
|
|
|
24
27
|
# @return [String]
|
|
25
28
|
attribute(:payload_version, String, from: "PayloadVersion")
|
|
26
|
-
|
|
27
|
-
# @return [String]
|
|
28
|
-
attribute?(:notification_version, String, from: "NotificationVersion")
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
31
|
end
|
|
@@ -9,17 +9,17 @@ module Peddler
|
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
B2BAnyOfferChangedNotification = Structure.new do
|
|
11
11
|
# @return [OfferChangeTrigger]
|
|
12
|
-
attribute(:offer_change_trigger, OfferChangeTrigger, from: "
|
|
12
|
+
attribute(:offer_change_trigger, OfferChangeTrigger, from: "OfferChangeTrigger")
|
|
13
13
|
|
|
14
14
|
# @return [Array<Offer>] The top 20 competitive B2B offers for the item and condition that triggered the
|
|
15
|
-
# notification
|
|
16
|
-
attribute(:offers, [Offer])
|
|
15
|
+
# notification
|
|
16
|
+
attribute(:offers, [Offer], from: "Offers")
|
|
17
17
|
|
|
18
|
-
# @return [String] The seller identifier for the offer
|
|
19
|
-
attribute(:seller_id, String, from: "
|
|
18
|
+
# @return [String] The seller identifier for the offer
|
|
19
|
+
attribute(:seller_id, String, from: "SellerId")
|
|
20
20
|
|
|
21
21
|
# @return [Summary]
|
|
22
|
-
attribute(:summary, Summary)
|
|
22
|
+
attribute(:summary, Summary, from: "Summary")
|
|
23
23
|
end
|
|
24
24
|
end
|
|
25
25
|
end
|
|
@@ -9,28 +9,31 @@ module Peddler
|
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
BuyBoxPrice = Structure.new do
|
|
11
11
|
# @return [String]
|
|
12
|
-
attribute(:condition, String)
|
|
12
|
+
attribute(:condition, String, from: "Condition")
|
|
13
13
|
|
|
14
14
|
# @return [Money]
|
|
15
|
-
attribute(:listing_price, Money, from: "
|
|
15
|
+
attribute(:listing_price, Money, from: "ListingPrice")
|
|
16
16
|
|
|
17
17
|
# @return [String]
|
|
18
|
-
attribute(:offer_type, String, from: "
|
|
18
|
+
attribute(:offer_type, String, from: "OfferType")
|
|
19
19
|
|
|
20
20
|
# @return [String]
|
|
21
|
-
attribute(:quantity_tier, String, from: "
|
|
21
|
+
attribute(:quantity_tier, String, from: "QuantityTier")
|
|
22
22
|
|
|
23
23
|
# @return [String]
|
|
24
|
-
attribute?(:discount_type, String, from: "
|
|
24
|
+
attribute?(:discount_type, String, from: "DiscountType")
|
|
25
25
|
|
|
26
26
|
# @return [Money]
|
|
27
|
-
attribute?(:landed_price, Money, from: "
|
|
27
|
+
attribute?(:landed_price, Money, from: "LandedPrice")
|
|
28
28
|
|
|
29
|
-
# @return [
|
|
30
|
-
attribute?(:
|
|
29
|
+
# @return [Points]
|
|
30
|
+
attribute?(:points, Points, from: "Points")
|
|
31
|
+
|
|
32
|
+
# @return [String] The seller identifier for the offer
|
|
33
|
+
attribute?(:seller_id, String, from: "SellerId")
|
|
31
34
|
|
|
32
35
|
# @return [Money]
|
|
33
|
-
attribute?(:shipping, Money)
|
|
36
|
+
attribute?(:shipping, Money, from: "Shipping")
|
|
34
37
|
end
|
|
35
38
|
end
|
|
36
39
|
end
|
|
@@ -9,28 +9,31 @@ module Peddler
|
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
LowestPrice = Structure.new do
|
|
11
11
|
# @return [String]
|
|
12
|
-
attribute(:condition, String)
|
|
12
|
+
attribute(:condition, String, from: "Condition")
|
|
13
13
|
|
|
14
14
|
# @return [String]
|
|
15
|
-
attribute(:fulfillment_channel, String, from: "
|
|
15
|
+
attribute(:fulfillment_channel, String, from: "FulfillmentChannel")
|
|
16
16
|
|
|
17
17
|
# @return [Money]
|
|
18
|
-
attribute(:listing_price, Money, from: "
|
|
18
|
+
attribute(:listing_price, Money, from: "ListingPrice")
|
|
19
19
|
|
|
20
20
|
# @return [String]
|
|
21
|
-
attribute(:offer_type, String, from: "
|
|
21
|
+
attribute(:offer_type, String, from: "OfferType")
|
|
22
22
|
|
|
23
23
|
# @return [String]
|
|
24
|
-
attribute(:quantity_tier, String, from: "
|
|
24
|
+
attribute(:quantity_tier, String, from: "QuantityTier")
|
|
25
25
|
|
|
26
26
|
# @return [String]
|
|
27
|
-
attribute?(:discount_type, String, from: "
|
|
27
|
+
attribute?(:discount_type, String, from: "DiscountType")
|
|
28
28
|
|
|
29
29
|
# @return [Money]
|
|
30
|
-
attribute?(:landed_price, Money, from: "
|
|
30
|
+
attribute?(:landed_price, Money, from: "LandedPrice")
|
|
31
|
+
|
|
32
|
+
# @return [Points]
|
|
33
|
+
attribute?(:points, Points, from: "Points")
|
|
31
34
|
|
|
32
35
|
# @return [Money]
|
|
33
|
-
attribute?(:shipping, Money)
|
|
36
|
+
attribute?(:shipping, Money, from: "Shipping")
|
|
34
37
|
end
|
|
35
38
|
end
|
|
36
39
|
end
|
|
@@ -9,26 +9,23 @@ module Peddler
|
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
# Notification envelope with metadata
|
|
11
11
|
Notification = Structure.new do
|
|
12
|
-
# @return [String] The date and time in
|
|
13
|
-
|
|
14
|
-
attribute(:event_time, String, from: "eventTime")
|
|
12
|
+
# @return [String] The date and time (in UTC) that the event which triggered the notification occurred
|
|
13
|
+
attribute(:event_time, String, from: "EventTime")
|
|
15
14
|
|
|
16
15
|
# @return [String]
|
|
17
|
-
attribute(:notification_metadata, String, from: "
|
|
16
|
+
attribute(:notification_metadata, String, from: "NotificationMetadata")
|
|
18
17
|
|
|
19
|
-
# @return [String] The notification type. Combined with
|
|
20
|
-
|
|
21
|
-
attribute(:notification_type, String, from: "notificationType")
|
|
18
|
+
# @return [String] The notification type. Combined with payload version controls the structure of payload object
|
|
19
|
+
attribute(:notification_type, String, from: "NotificationType")
|
|
22
20
|
|
|
23
|
-
# @return [String] The notification version. This controls the structure of the notification
|
|
24
|
-
attribute(:notification_version, String, from: "
|
|
21
|
+
# @return [String] The notification version. This controls the structure of the notification
|
|
22
|
+
attribute(:notification_version, String, from: "NotificationVersion")
|
|
25
23
|
|
|
26
24
|
# @return [Payload]
|
|
27
|
-
attribute(:payload, Payload)
|
|
25
|
+
attribute(:payload, Payload, from: "Payload")
|
|
28
26
|
|
|
29
|
-
# @return [String] The payload version. Combined with
|
|
30
|
-
|
|
31
|
-
attribute(:payload_version, String, from: "payloadVersion")
|
|
27
|
+
# @return [String] The payload version. Combined with notification type controls the structure of payload
|
|
28
|
+
attribute(:payload_version, String, from: "PayloadVersion")
|
|
32
29
|
end
|
|
33
30
|
end
|
|
34
31
|
end
|
|
@@ -8,17 +8,17 @@ module Peddler
|
|
|
8
8
|
module Notifications
|
|
9
9
|
module B2BAnyOfferChanged
|
|
10
10
|
NotificationMetadata = Structure.new do
|
|
11
|
-
# @return [String] The identifier for the application that uses the notifications
|
|
12
|
-
attribute(:application_id, String, from: "
|
|
11
|
+
# @return [String] The identifier for the application that uses the notifications
|
|
12
|
+
attribute(:application_id, String, from: "ApplicationId")
|
|
13
13
|
|
|
14
|
-
# @return [String] A unique identifier for this notification instance
|
|
15
|
-
attribute(:notification_id, String, from: "
|
|
14
|
+
# @return [String] A unique identifier for this notification instance
|
|
15
|
+
attribute(:notification_id, String, from: "NotificationId")
|
|
16
16
|
|
|
17
|
-
# @return [String] The date and time in
|
|
18
|
-
attribute(:publish_time, String, from: "
|
|
17
|
+
# @return [String] The date and time (in UTC) that the notification was sent
|
|
18
|
+
attribute(:publish_time, String, from: "PublishTime")
|
|
19
19
|
|
|
20
|
-
# @return [String] A unique identifier for the subscription which resulted in this notification
|
|
21
|
-
attribute(:subscription_id, String, from: "
|
|
20
|
+
# @return [String] A unique identifier for the subscription which resulted in this notification
|
|
21
|
+
attribute(:subscription_id, String, from: "SubscriptionId")
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
end
|