walmart-apimatic-sdk 0.0.1 → 0.0.5
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.
Potentially problematic release.
This version of walmart-apimatic-sdk might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +408 -154
- data/lib/walmart_ap_is/api_helper.rb +10 -10
- data/lib/walmart_ap_is/apis/authorization_api.rb +238 -0
- data/lib/walmart_ap_is/apis/base_api.rb +60 -60
- data/lib/walmart_ap_is/apis/catalog_api.rb +126 -0
- data/lib/walmart_ap_is/apis/data_kiosk_api.rb +198 -0
- data/lib/walmart_ap_is/apis/disputes_api.rb +36 -0
- data/lib/walmart_ap_is/apis/fba_inventory_api.rb +192 -0
- data/lib/walmart_ap_is/apis/feeds_api.rb +181 -79
- data/lib/walmart_ap_is/apis/fees_api.rb +127 -0
- data/lib/walmart_ap_is/apis/final_payout_api.rb +75 -0
- data/lib/walmart_ap_is/apis/finances_api.rb +207 -0
- data/lib/walmart_ap_is/apis/fulfillment_outbound_api.rb +264 -0
- data/lib/walmart_ap_is/apis/inventory_api.rb +170 -0
- data/lib/walmart_ap_is/apis/listings_items_api.rb +221 -0
- data/lib/walmart_ap_is/apis/listings_restrictions_api.rb +61 -0
- data/lib/walmart_ap_is/apis/merchant_fulfillment_api.rb +197 -0
- data/lib/walmart_ap_is/apis/messaging_api.rb +515 -0
- data/lib/walmart_ap_is/apis/notifications_api.rb +351 -0
- data/lib/walmart_ap_is/apis/oauth_authorization_api.rb +157 -0
- data/lib/walmart_ap_is/apis/orders_api.rb +846 -0
- data/lib/walmart_ap_is/apis/payouts_api.rb +161 -0
- data/lib/walmart_ap_is/apis/product_fees_api.rb +140 -0
- data/lib/walmart_ap_is/apis/product_pricing_api.rb +759 -0
- data/lib/walmart_ap_is/apis/product_type_definitions_api.rb +89 -0
- data/lib/walmart_ap_is/apis/reconciliation_api.rb +109 -0
- data/lib/walmart_ap_is/apis/report_schedules_api.rb +148 -0
- data/lib/walmart_ap_is/apis/reports_api.rb +269 -0
- data/lib/walmart_ap_is/apis/sales_api.rb +117 -0
- data/lib/walmart_ap_is/apis/sellers_api.rb +67 -0
- data/lib/walmart_ap_is/apis/settlement_api.rb +140 -0
- data/lib/walmart_ap_is/apis/shipping_api.rb +380 -0
- data/lib/walmart_ap_is/apis/solicitations_api.rb +92 -0
- data/lib/walmart_ap_is/apis/uploads_api.rb +59 -0
- data/lib/walmart_ap_is/apis/wfs_inbound_api.rb +2030 -0
- data/lib/walmart_ap_is/apis/wfs_inventory_api.rb +52 -0
- data/lib/walmart_ap_is/client.rb +292 -157
- data/lib/walmart_ap_is/configuration.rb +174 -125
- data/lib/walmart_ap_is/exceptions/api_exception.rb +21 -21
- data/lib/walmart_ap_is/exceptions/authorize_error_exception.rb +65 -0
- data/lib/walmart_ap_is/exceptions/error_error_exception.rb +57 -0
- data/lib/walmart_ap_is/exceptions/error_list2_exception.rb +55 -0
- data/lib/walmart_ap_is/exceptions/error_list_error1_exception.rb +55 -0
- data/lib/walmart_ap_is/exceptions/error_list_error_exception.rb +55 -0
- data/lib/walmart_ap_is/exceptions/oauth_error_exception.rb +59 -0
- data/lib/walmart_ap_is/exceptions/oauth_provider_exception.rb +64 -0
- data/lib/walmart_ap_is/exceptions/registration_error_exception.rb +53 -0
- data/lib/walmart_ap_is/http/api_response.rb +7 -7
- data/lib/walmart_ap_is/http/auth/{basic_auth.rb → basic_client_auth.rb} +57 -57
- data/lib/walmart_ap_is/http/auth/seller_auth_authorization_code.rb +162 -0
- data/lib/walmart_ap_is/http/auth/seller_auth_client_credentials.rb +156 -0
- data/lib/walmart_ap_is/http/auth/wallet_auth.rb +156 -0
- data/lib/walmart_ap_is/http/http_call_back.rb +10 -10
- data/lib/walmart_ap_is/http/http_method_enum.rb +10 -10
- data/lib/walmart_ap_is/http/http_request.rb +10 -10
- data/lib/walmart_ap_is/http/http_response.rb +10 -10
- data/lib/walmart_ap_is/http/proxy_settings.rb +5 -5
- data/lib/walmart_ap_is/logging/configuration/api_logging_configuration.rb +5 -5
- data/lib/walmart_ap_is/logging/sdk_logger.rb +5 -5
- data/lib/walmart_ap_is/models/access_point.rb +125 -0
- data/lib/walmart_ap_is/models/account_status.rb +40 -0
- data/lib/walmart_ap_is/models/acknowledge_order_line.rb +93 -0
- data/lib/walmart_ap_is/models/acknowledge_order_request.rb +83 -0
- data/lib/walmart_ap_is/models/acknowledge_order_response.rb +96 -0
- data/lib/walmart_ap_is/models/address.rb +174 -0
- data/lib/walmart_ap_is/models/address1.rb +140 -0
- data/lib/walmart_ap_is/models/address2.rb +192 -0
- data/lib/walmart_ap_is/models/address3.rb +135 -0
- data/lib/walmart_ap_is/models/address_input.rb +173 -0
- data/lib/walmart_ap_is/models/all_owners_constraint.rb +27 -0
- data/lib/walmart_ap_is/models/{successful_operation4.rb → annual_statement_opts_response.rb} +86 -84
- data/lib/walmart_ap_is/models/{refresh_token_res.rb → appointment_slot.rb} +82 -82
- data/lib/walmart_ap_is/models/appointment_slot_time.rb +97 -0
- data/lib/walmart_ap_is/models/availability_type.rb +41 -0
- data/lib/walmart_ap_is/models/base_model.rb +110 -110
- data/lib/walmart_ap_is/models/batch_offers_request_params.rb +96 -0
- data/lib/walmart_ap_is/models/batch_offers_response.rb +95 -0
- data/lib/walmart_ap_is/models/batch_request.rb +95 -0
- data/lib/walmart_ap_is/models/batch_request_method.rb +49 -0
- data/lib/walmart_ap_is/models/box.rb +204 -0
- data/lib/walmart_ap_is/models/box_content_information_source.rb +40 -0
- data/lib/walmart_ap_is/models/box_input.rb +124 -0
- data/lib/walmart_ap_is/models/box_requirements.rb +73 -0
- data/lib/walmart_ap_is/models/box_update_input.rb +135 -0
- data/lib/walmart_ap_is/models/bulk_inventory_item.rb +105 -0
- data/lib/walmart_ap_is/models/{mp_item_feed_header.rb → bulk_item_error.rb} +95 -91
- data/lib/walmart_ap_is/models/bulk_update_inventory_request.rb +83 -0
- data/lib/walmart_ap_is/models/{update_pricing_for_multiple_items_in_bulk_new_request.rb → bulk_update_inventory_response.rb} +103 -92
- data/lib/walmart_ap_is/models/buy_box_price_type.rb +145 -0
- data/lib/walmart_ap_is/models/buyer_info.rb +110 -0
- data/lib/walmart_ap_is/models/buyer_type.rb +40 -0
- data/lib/walmart_ap_is/models/cancel_fulfillment_order_response.rb +75 -0
- data/lib/walmart_ap_is/models/cancel_inbound_plan_response.rb +85 -0
- data/lib/walmart_ap_is/models/cancel_order_line.rb +97 -0
- data/lib/walmart_ap_is/models/cancel_order_lines_request.rb +83 -0
- data/lib/walmart_ap_is/models/cancel_order_lines_response.rb +96 -0
- data/lib/walmart_ap_is/models/cancel_query_response.rb +75 -0
- data/lib/walmart_ap_is/models/{successful_operation1.rb → cancel_report_response.rb} +76 -73
- data/lib/walmart_ap_is/models/cancel_report_schedule_response.rb +77 -0
- data/lib/walmart_ap_is/models/cancel_self_ship_appointment_request.rb +76 -0
- data/lib/walmart_ap_is/models/cancel_shipment_response.rb +75 -0
- data/lib/walmart_ap_is/models/cancel_shipment_response1.rb +75 -0
- data/lib/walmart_ap_is/models/cancellation_reason.rb +44 -0
- data/lib/walmart_ap_is/models/cancellation_status.rb +40 -0
- data/lib/walmart_ap_is/models/carrier.rb +85 -0
- data/lib/walmart_ap_is/models/carrier1.rb +85 -0
- data/lib/walmart_ap_is/models/carrier_name.rb +56 -0
- data/lib/walmart_ap_is/models/carrier_will_pick_up_option.rb +40 -0
- data/lib/walmart_ap_is/models/channel.rb +146 -0
- data/lib/walmart_ap_is/models/channel_details.rb +113 -0
- data/lib/walmart_ap_is/models/channel_list.rb +84 -0
- data/lib/walmart_ap_is/models/channel_type.rb +42 -0
- data/lib/walmart_ap_is/models/classification_refinement.rb +98 -0
- data/lib/walmart_ap_is/models/client_registration_request.rb +165 -0
- data/lib/walmart_ap_is/models/client_registration_response.rb +159 -0
- data/lib/walmart_ap_is/models/code_challenge_method.rb +26 -0
- data/lib/walmart_ap_is/models/competitive_price_type.rb +164 -0
- data/lib/walmart_ap_is/models/competitive_pricing_type.rb +113 -0
- data/lib/walmart_ap_is/models/competitive_summary_batch_request.rb +84 -0
- data/lib/walmart_ap_is/models/competitive_summary_batch_response.rb +85 -0
- data/lib/walmart_ap_is/models/competitive_summary_request.rb +92 -0
- data/lib/walmart_ap_is/models/competitive_summary_response.rb +85 -0
- data/lib/walmart_ap_is/models/competitive_summary_response_body.rb +122 -0
- data/lib/walmart_ap_is/models/compliance_detail.rb +85 -0
- data/lib/walmart_ap_is/models/compression_algorithm.rb +26 -0
- data/lib/walmart_ap_is/models/condition.rb +40 -0
- data/lib/walmart_ap_is/models/condition1.rb +40 -0
- data/lib/walmart_ap_is/models/condition_type.rb +64 -0
- data/lib/walmart_ap_is/models/condition_type1.rb +68 -0
- data/lib/walmart_ap_is/models/condition_type2.rb +49 -0
- data/lib/walmart_ap_is/models/confirm_transportation_options_request.rb +83 -0
- data/lib/walmart_ap_is/models/contact_information.rb +93 -0
- data/lib/walmart_ap_is/models/content_type.rb +42 -0
- data/lib/walmart_ap_is/models/content_type1.rb +45 -0
- data/lib/walmart_ap_is/models/content_update_preview.rb +114 -0
- data/lib/walmart_ap_is/models/create_feed_json_request.rb +74 -0
- data/lib/walmart_ap_is/models/create_feed_response.rb +95 -0
- data/lib/walmart_ap_is/models/create_fulfillment_order_item.rb +118 -0
- data/lib/walmart_ap_is/models/create_fulfillment_order_request.rb +182 -0
- data/lib/walmart_ap_is/models/create_fulfillment_order_response.rb +75 -0
- data/lib/walmart_ap_is/models/create_inbound_plan_request.rb +115 -0
- data/lib/walmart_ap_is/models/create_inbound_plan_response.rb +82 -0
- data/lib/walmart_ap_is/models/create_marketplace_item_labels_request.rb +145 -0
- data/lib/walmart_ap_is/models/create_marketplace_item_labels_response.rb +83 -0
- data/lib/walmart_ap_is/models/{xml1.rb → create_query_response.rb} +73 -73
- data/lib/walmart_ap_is/models/create_query_specification.rb +86 -0
- data/lib/walmart_ap_is/models/{successful_operation8.rb → create_report_response.rb} +74 -73
- data/lib/walmart_ap_is/models/create_report_schedule_response.rb +75 -0
- data/lib/walmart_ap_is/models/create_report_schedule_specification.rb +128 -0
- data/lib/walmart_ap_is/models/create_report_specification.rb +140 -0
- data/lib/walmart_ap_is/models/create_shipment_request.rb +113 -0
- data/lib/walmart_ap_is/models/create_shipment_response.rb +75 -0
- data/lib/walmart_ap_is/models/create_upload_destination_response.rb +97 -0
- data/lib/walmart_ap_is/models/currency.rb +82 -0
- data/lib/walmart_ap_is/models/{successful_operation5.rb → custom_placement_input.rb} +91 -91
- data/lib/walmart_ap_is/models/customer_type.rb +37 -0
- data/lib/walmart_ap_is/models/dates.rb +77 -0
- data/lib/walmart_ap_is/models/deliver_order_line.rb +132 -0
- data/lib/walmart_ap_is/models/deliver_order_lines_request.rb +83 -0
- data/lib/walmart_ap_is/models/deliver_order_lines_response.rb +96 -0
- data/lib/walmart_ap_is/models/delivery_experience.rb +45 -0
- data/lib/walmart_ap_is/models/{program_action1.rb → delivery_window.rb} +102 -83
- data/lib/walmart_ap_is/models/delivery_window_option.rb +135 -0
- data/lib/walmart_ap_is/models/department.rb +86 -0
- data/lib/walmart_ap_is/models/detailed_shipping_time_type.rb +112 -0
- data/lib/walmart_ap_is/models/dimensions.rb +102 -0
- data/lib/walmart_ap_is/models/disbursements_v4_final_payout_case_update_status_request.rb +84 -0
- data/lib/walmart_ap_is/models/disbursements_v4_payment_auto_payout_request.rb +73 -0
- data/lib/walmart_ap_is/models/dispute_eligibility_response.rb +85 -0
- data/lib/walmart_ap_is/models/document.rb +95 -0
- data/lib/walmart_ap_is/models/document_download.rb +104 -0
- data/lib/walmart_ap_is/models/document_summary.rb +76 -0
- data/lib/walmart_ap_is/models/dpi.rb +42 -0
- data/lib/walmart_ap_is/models/error.rb +52 -0
- data/lib/walmart_ap_is/models/error1.rb +56 -0
- data/lib/walmart_ap_is/models/error2.rb +44 -0
- data/lib/walmart_ap_is/models/{item_price_response.rb → error3.rb} +92 -90
- data/lib/walmart_ap_is/models/error4.rb +92 -0
- data/lib/walmart_ap_is/models/{programs1.rb → error_list.rb} +82 -75
- data/lib/walmart_ap_is/models/error_list1.rb +82 -0
- data/lib/walmart_ap_is/models/event.rb +115 -0
- data/lib/walmart_ap_is/models/faster_payout_eligibility_response.rb +97 -0
- data/lib/walmart_ap_is/models/featured_offer.rb +97 -0
- data/lib/walmart_ap_is/models/featured_offer_expected_price.rb +76 -0
- data/lib/walmart_ap_is/models/{promo_discount.rb → featured_offer_expected_price_request.rb} +82 -90
- data/lib/walmart_ap_is/models/featured_offer_expected_price_response.rb +85 -0
- data/lib/walmart_ap_is/models/featured_offer_expected_price_response_body.rb +121 -0
- data/lib/walmart_ap_is/models/featured_offer_expected_price_result.rb +116 -0
- data/lib/walmart_ap_is/models/fee.rb +85 -0
- data/lib/walmart_ap_is/models/fee_detail.rb +113 -0
- data/lib/walmart_ap_is/models/feed.rb +182 -0
- data/lib/walmart_ap_is/models/feed_document.rb +97 -0
- data/lib/walmart_ap_is/models/feed_processing_summary.rb +120 -0
- data/lib/walmart_ap_is/models/feed_status.rb +44 -0
- data/lib/walmart_ap_is/models/feed_type.rb +60 -0
- data/lib/walmart_ap_is/models/fees_estimate.rb +112 -0
- data/lib/walmart_ap_is/models/fees_estimate_by_id_request.rb +96 -0
- data/lib/walmart_ap_is/models/fees_estimate_error.rb +99 -0
- data/lib/walmart_ap_is/models/fees_estimate_identifier.rb +158 -0
- data/lib/walmart_ap_is/models/fees_estimate_request.rb +125 -0
- data/lib/walmart_ap_is/models/fees_estimate_result.rb +110 -0
- data/lib/walmart_ap_is/models/file_contents.rb +95 -0
- data/lib/walmart_ap_is/models/file_type.rb +40 -0
- data/lib/walmart_ap_is/models/final_payout_case_status_response.rb +95 -0
- data/lib/walmart_ap_is/models/first_day_of_week.rb +36 -0
- data/lib/walmart_ap_is/models/format.rb +48 -0
- data/lib/walmart_ap_is/models/format1.rb +44 -0
- data/lib/walmart_ap_is/models/freight_information.rb +89 -0
- data/lib/walmart_ap_is/models/fulfillment_availability.rb +99 -0
- data/lib/walmart_ap_is/models/fulfillment_channel.rb +36 -0
- data/lib/walmart_ap_is/models/fulfillment_channel1.rb +36 -0
- data/lib/walmart_ap_is/models/fulfillment_channel_code.rb +36 -0
- data/lib/walmart_ap_is/models/fulfillment_channel_type.rb +37 -0
- data/lib/walmart_ap_is/models/fulfillment_option.rb +40 -0
- data/lib/walmart_ap_is/models/fulfillment_order.rb +200 -0
- data/lib/walmart_ap_is/models/fulfillment_order_item.rb +114 -0
- data/lib/walmart_ap_is/models/fulfillment_order_status.rb +60 -0
- data/lib/walmart_ap_is/models/fulfillment_preview.rb +141 -0
- data/lib/walmart_ap_is/models/fulfillment_preview_shipment.rb +151 -0
- data/lib/walmart_ap_is/models/fulfillment_shipment.rb +164 -0
- data/lib/walmart_ap_is/models/fulfillment_shipment_status.rb +44 -0
- data/lib/walmart_ap_is/models/fulfillment_type.rb +36 -0
- data/lib/walmart_ap_is/models/fulfillment_type1.rb +36 -0
- data/lib/walmart_ap_is/models/generate_placement_options_request.rb +85 -0
- data/lib/walmart_ap_is/models/generate_self_ship_appointment_slots_request.rb +103 -0
- data/lib/walmart_ap_is/models/generate_shipment_content_update_previews_request.rb +100 -0
- data/lib/walmart_ap_is/models/generate_transportation_options_request.rb +98 -0
- data/lib/walmart_ap_is/models/get_access_points_response.rb +75 -0
- data/lib/walmart_ap_is/models/get_additional_inputs_response.rb +77 -0
- data/lib/walmart_ap_is/models/get_delivery_challan_document_response.rb +75 -0
- data/lib/walmart_ap_is/models/get_eligible_shipping_services_request.rb +75 -0
- data/lib/walmart_ap_is/models/get_eligible_shipping_services_response.rb +110 -0
- data/lib/walmart_ap_is/models/get_featured_offer_expected_price_batch_request.rb +84 -0
- data/lib/walmart_ap_is/models/get_featured_offer_expected_price_batch_response.rb +85 -0
- data/lib/walmart_ap_is/models/get_feeds_response.rb +95 -0
- data/lib/walmart_ap_is/models/get_fulfillment_order_response.rb +75 -0
- data/lib/walmart_ap_is/models/get_fulfillment_order_shipments_response.rb +75 -0
- data/lib/walmart_ap_is/models/get_fulfillment_preview_item.rb +95 -0
- data/lib/walmart_ap_is/models/get_fulfillment_preview_request.rb +135 -0
- data/lib/walmart_ap_is/models/get_fulfillment_preview_response.rb +75 -0
- data/lib/walmart_ap_is/models/get_fulfillment_preview_result.rb +85 -0
- data/lib/walmart_ap_is/models/{successful_operation3.rb → get_inventory_summaries_response.rb} +95 -92
- data/lib/walmart_ap_is/models/get_item_offers_batch_request.rb +84 -0
- data/lib/walmart_ap_is/models/get_item_offers_batch_response.rb +85 -0
- data/lib/walmart_ap_is/models/get_listing_offers_batch_request.rb +84 -0
- data/lib/walmart_ap_is/models/get_listing_offers_batch_response.rb +85 -0
- data/lib/walmart_ap_is/models/get_marketplace_participations_response.rb +84 -0
- data/lib/walmart_ap_is/models/get_my_fees_estimate_request.rb +79 -0
- data/lib/walmart_ap_is/models/get_my_fees_estimate_response.rb +86 -0
- data/lib/walmart_ap_is/models/get_my_fees_estimate_result.rb +78 -0
- data/lib/walmart_ap_is/models/get_offers_http_status_line.rb +86 -0
- data/lib/walmart_ap_is/models/get_offers_response.rb +94 -0
- data/lib/walmart_ap_is/models/get_offers_result.rb +153 -0
- data/lib/walmart_ap_is/models/get_order_address_response.rb +75 -0
- data/lib/walmart_ap_is/models/get_order_buyer_info_response.rb +77 -0
- data/lib/walmart_ap_is/models/get_order_regulated_info_response.rb +78 -0
- data/lib/walmart_ap_is/models/{json1.rb → get_order_response.rb} +75 -73
- data/lib/walmart_ap_is/models/get_pricing_response.rb +103 -0
- data/lib/walmart_ap_is/models/get_queries_response.rb +94 -0
- data/lib/walmart_ap_is/models/get_rates_request.rb +172 -0
- data/lib/walmart_ap_is/models/get_report_schedules_response.rb +85 -0
- data/lib/walmart_ap_is/models/get_reports_response.rb +94 -0
- data/lib/walmart_ap_is/models/get_self_ship_appointment_slots_response.rb +92 -0
- data/lib/walmart_ap_is/models/get_shipment_documents_response.rb +75 -0
- data/lib/walmart_ap_is/models/get_shipment_response.rb +75 -0
- data/lib/walmart_ap_is/models/get_tracking_response.rb +75 -0
- data/lib/walmart_ap_is/models/get_wfs_inventory_response.rb +94 -0
- data/lib/walmart_ap_is/models/grant_type.rb +40 -0
- data/lib/walmart_ap_is/models/grant_type1.rb +36 -0
- data/lib/walmart_ap_is/models/granularity.rb +52 -0
- data/lib/walmart_ap_is/models/http_response_headers.rb +86 -0
- data/lib/walmart_ap_is/models/id_type.rb +36 -0
- data/lib/walmart_ap_is/models/id_type1.rb +36 -0
- data/lib/walmart_ap_is/models/identifier_type.rb +52 -0
- data/lib/walmart_ap_is/models/identifier_type1.rb +88 -0
- data/lib/walmart_ap_is/models/inbound_operation_status.rb +111 -0
- data/lib/walmart_ap_is/models/inbound_plan.rb +207 -0
- data/lib/walmart_ap_is/models/inbound_plan_summary.rb +146 -0
- data/lib/walmart_ap_is/models/incentive.rb +101 -0
- data/lib/walmart_ap_is/models/included_datum.rb +56 -0
- data/lib/walmart_ap_is/models/included_datum1.rb +52 -0
- data/lib/walmart_ap_is/models/included_datum2.rb +44 -0
- data/lib/walmart_ap_is/models/{successful_operation11.rb → ineligibility_reason.rb} +85 -82
- data/lib/walmart_ap_is/models/ineligible_rate.rb +106 -0
- data/lib/walmart_ap_is/models/{value.rb → initiate_payout_response.rb} +95 -91
- data/lib/walmart_ap_is/models/inventory_summary.rb +183 -0
- data/lib/walmart_ap_is/models/issue.rb +103 -0
- data/lib/walmart_ap_is/models/item.rb +181 -239
- data/lib/walmart_ap_is/models/item1.rb +135 -73
- data/lib/walmart_ap_is/models/item2.rb +161 -0
- data/lib/walmart_ap_is/models/{sort.rb → item3.rb} +82 -82
- data/lib/walmart_ap_is/models/item4.rb +113 -0
- data/lib/walmart_ap_is/models/item_attribute.rb +95 -0
- data/lib/walmart_ap_is/models/item_identifier.rb +97 -0
- data/lib/walmart_ap_is/models/item_identifier1.rb +106 -0
- data/lib/walmart_ap_is/models/item_identifiers.rb +108 -72
- data/lib/walmart_ap_is/models/{strategy.rb → item_image.rb} +105 -94
- data/lib/walmart_ap_is/models/{filter.rb → item_image1.rb} +95 -90
- data/lib/walmart_ap_is/models/item_input.rb +125 -0
- data/lib/walmart_ap_is/models/item_label_page_type.rb +72 -0
- data/lib/walmart_ap_is/models/item_lifecycle.rb +40 -0
- data/lib/walmart_ap_is/models/item_offer_by_marketplace.rb +105 -0
- data/lib/walmart_ap_is/models/item_offers_request.rb +137 -0
- data/lib/walmart_ap_is/models/item_offers_response.rb +104 -0
- data/lib/walmart_ap_is/models/item_product_type.rb +76 -0
- data/lib/walmart_ap_is/models/item_relationship.rb +124 -0
- data/lib/walmart_ap_is/models/item_search_results.rb +116 -0
- data/lib/walmart_ap_is/models/item_summary_by_marketplace.rb +175 -0
- data/lib/walmart_ap_is/models/item_type.rb +36 -0
- data/lib/walmart_ap_is/models/label.rb +120 -0
- data/lib/walmart_ap_is/models/label_dimensions.rb +95 -0
- data/lib/walmart_ap_is/models/label_format.rb +48 -0
- data/lib/walmart_ap_is/models/label_owner.rb +41 -0
- data/lib/walmart_ap_is/models/label_print_type.rb +36 -0
- data/lib/walmart_ap_is/models/line_status.rb +52 -0
- data/lib/walmart_ap_is/models/link.rb +101 -0
- data/lib/walmart_ap_is/models/list_all_fulfillment_orders_response.rb +95 -0
- data/lib/walmart_ap_is/models/list_delivery_window_options_response.rb +94 -0
- data/lib/walmart_ap_is/models/list_inbound_plan_boxes_response.rb +93 -0
- data/lib/walmart_ap_is/models/list_inbound_plan_items_response.rb +93 -0
- data/lib/walmart_ap_is/models/list_inbound_plan_pallets_response.rb +93 -0
- data/lib/walmart_ap_is/models/list_inbound_plans_response.rb +95 -0
- data/lib/walmart_ap_is/models/{walmart_funded_incentives_enrollment.rb → list_item_compliance_details_response.rb} +85 -79
- data/lib/walmart_ap_is/models/list_packing_group_boxes_response.rb +93 -0
- data/lib/walmart_ap_is/models/list_packing_group_items_response.rb +93 -0
- data/lib/walmart_ap_is/models/list_packing_options_response.rb +94 -0
- data/lib/walmart_ap_is/models/list_placement_options_response.rb +94 -0
- data/lib/walmart_ap_is/models/list_prep_details_response.rb +83 -0
- data/lib/walmart_ap_is/models/list_shipment_boxes_response.rb +93 -0
- data/lib/walmart_ap_is/models/list_shipment_content_update_previews_response.rb +94 -0
- data/lib/walmart_ap_is/models/list_shipment_items_response.rb +93 -0
- data/lib/walmart_ap_is/models/list_shipment_pallets_response.rb +93 -0
- data/lib/walmart_ap_is/models/list_transportation_options_response.rb +94 -0
- data/lib/walmart_ap_is/models/listing_offers_request.rb +135 -0
- data/lib/walmart_ap_is/models/listing_offers_response.rb +105 -0
- data/lib/walmart_ap_is/models/listings_item_patch_request.rb +91 -0
- data/lib/walmart_ap_is/models/listings_item_put_request.rb +96 -0
- data/lib/walmart_ap_is/models/listings_item_submission_response.rb +112 -0
- data/lib/walmart_ap_is/models/location.rb +107 -0
- data/lib/walmart_ap_is/models/lowest_price_type.rb +148 -0
- data/lib/walmart_ap_is/models/ltl_tracking_detail.rb +89 -0
- data/lib/walmart_ap_is/models/ltl_tracking_detail_input.rb +88 -0
- data/lib/walmart_ap_is/models/marketplace.rb +117 -0
- data/lib/walmart_ap_is/models/marketplace_id.rb +40 -0
- data/lib/walmart_ap_is/models/marketplace_order_details.rb +118 -0
- data/lib/walmart_ap_is/models/marketplace_participation.rb +86 -0
- data/lib/walmart_ap_is/models/marketplace_shipment_details.rb +101 -0
- data/lib/walmart_ap_is/models/method_code.rb +44 -0
- data/lib/walmart_ap_is/models/money.rb +86 -0
- data/lib/walmart_ap_is/models/money_type.rb +86 -0
- data/lib/walmart_ap_is/models/money_type1.rb +82 -0
- data/lib/walmart_ap_is/models/msku_prep_detail.rb +130 -0
- data/lib/walmart_ap_is/models/msku_prep_detail_input.rb +92 -0
- data/lib/walmart_ap_is/models/{successful_operation7.rb → msku_quantity.rb} +82 -75
- data/lib/walmart_ap_is/models/multi_package_ship_request.rb +82 -0
- data/lib/walmart_ap_is/models/multi_package_ship_response.rb +110 -0
- data/lib/walmart_ap_is/models/ndr_action.rb +44 -0
- data/lib/walmart_ap_is/models/oauth_provider_error.rb +62 -0
- data/lib/walmart_ap_is/models/oauth_scope_seller_auth_authorization_code.rb +125 -0
- data/lib/walmart_ap_is/models/oauth_scope_seller_auth_client_credentials.rb +120 -0
- data/lib/walmart_ap_is/models/oauth_scope_wallet_auth.rb +130 -0
- data/lib/walmart_ap_is/models/oauth_token.rb +96 -0
- data/lib/walmart_ap_is/models/offer_count_type.rb +101 -0
- data/lib/walmart_ap_is/models/offer_detail.rb +237 -0
- data/lib/walmart_ap_is/models/offer_identifier.rb +106 -0
- data/lib/walmart_ap_is/models/{successful_operation12.rb → offer_listing_count_type.rb} +82 -82
- data/lib/walmart_ap_is/models/offer_type.rb +36 -0
- data/lib/walmart_ap_is/models/offer_type1.rb +167 -0
- data/lib/walmart_ap_is/models/one_click_shipment_request.rb +187 -0
- data/lib/walmart_ap_is/models/op.rb +40 -0
- data/lib/walmart_ap_is/models/operation_problem.rb +102 -0
- data/lib/walmart_ap_is/models/operation_status.rb +40 -0
- data/lib/walmart_ap_is/models/optional_fulfillment_program.rb +36 -0
- data/lib/walmart_ap_is/models/order.rb +192 -0
- data/lib/walmart_ap_is/models/order_item_disposition.rb +36 -0
- data/lib/walmart_ap_is/models/order_line.rb +155 -0
- data/lib/walmart_ap_is/models/order_status.rb +52 -0
- data/lib/walmart_ap_is/models/owner_constraint.rb +36 -0
- data/lib/walmart_ap_is/models/package.rb +146 -0
- data/lib/walmart_ap_is/models/package_dimensions.rb +99 -0
- data/lib/walmart_ap_is/models/package_dimensions1.rb +128 -0
- data/lib/walmart_ap_is/models/package_document.rb +90 -0
- data/lib/walmart_ap_is/models/package_document_detail.rb +105 -0
- data/lib/walmart_ap_is/models/package_grouping_input.rb +106 -0
- data/lib/walmart_ap_is/models/packing_configuration.rb +108 -0
- data/lib/walmart_ap_is/models/packing_option.rb +192 -0
- data/lib/walmart_ap_is/models/packing_option_summary.rb +84 -0
- data/lib/walmart_ap_is/models/page_layout.rb +36 -0
- data/lib/walmart_ap_is/models/pagination.rb +86 -0
- data/lib/walmart_ap_is/models/pagination1.rb +77 -0
- data/lib/walmart_ap_is/models/pagination2.rb +74 -0
- data/lib/walmart_ap_is/models/pagination3.rb +76 -0
- data/lib/walmart_ap_is/models/pagination4.rb +77 -0
- data/lib/walmart_ap_is/models/pagination5.rb +86 -0
- data/lib/walmart_ap_is/models/pallet.rb +116 -0
- data/lib/walmart_ap_is/models/pallet_input.rb +106 -0
- data/lib/walmart_ap_is/models/participation.rb +99 -0
- data/lib/walmart_ap_is/models/patch_operation.rb +92 -0
- data/lib/walmart_ap_is/models/payload.rb +116 -0
- data/lib/walmart_ap_is/models/payload1.rb +85 -0
- data/lib/walmart_ap_is/models/{assign_unassign_items_to_from_repricer_strategy_request.rb → payload11.rb} +96 -92
- data/lib/walmart_ap_is/models/payload12.rb +106 -0
- data/lib/walmart_ap_is/models/{update_pricing_for_a_single_item_request.rb → payload2.rb} +94 -91
- data/lib/walmart_ap_is/models/{status_info.rb → payload21.rb} +87 -85
- data/lib/walmart_ap_is/models/payload3.rb +116 -0
- data/lib/walmart_ap_is/models/payload31.rb +152 -0
- data/lib/walmart_ap_is/models/payload4.rb +95 -0
- data/lib/walmart_ap_is/models/payload5.rb +97 -0
- data/lib/walmart_ap_is/models/{programs.rb → payload6.rb} +85 -80
- data/lib/walmart_ap_is/models/payout_status_response.rb +122 -0
- data/lib/walmart_ap_is/models/period.rb +76 -0
- data/lib/walmart_ap_is/models/period1.rb +76 -0
- data/lib/walmart_ap_is/models/pickup_window.rb +102 -0
- data/lib/walmart_ap_is/models/placement_option.rb +152 -0
- data/lib/walmart_ap_is/models/placement_option_summary.rb +83 -0
- data/lib/walmart_ap_is/models/{mp_item.rb → points.rb} +76 -74
- data/lib/walmart_ap_is/models/points1.rb +76 -0
- data/lib/walmart_ap_is/models/prep_category.rb +85 -0
- data/lib/walmart_ap_is/models/prep_instruction.rb +95 -0
- data/lib/walmart_ap_is/models/prep_owner.rb +36 -0
- data/lib/walmart_ap_is/models/prep_type.rb +93 -0
- data/lib/walmart_ap_is/models/price.rb +106 -0
- data/lib/walmart_ap_is/models/price_to_estimate_fees.rb +94 -0
- data/lib/walmart_ap_is/models/price_type.rb +97 -0
- data/lib/walmart_ap_is/models/processing_status.rb +48 -0
- data/lib/walmart_ap_is/models/processing_status1.rb +44 -0
- data/lib/walmart_ap_is/models/product.rb +145 -0
- data/lib/walmart_ap_is/models/product_type_definition.rb +107 -0
- data/lib/walmart_ap_is/models/product_type_list.rb +85 -0
- data/lib/walmart_ap_is/models/product_type_summary.rb +97 -0
- data/lib/walmart_ap_is/models/{pricing.rb → promise.rb} +86 -84
- data/lib/walmart_ap_is/models/proof_of_delivery.rb +106 -0
- data/lib/walmart_ap_is/models/publishing_status.rb +52 -0
- data/lib/walmart_ap_is/models/purchase_shipment_request.rb +133 -0
- data/lib/walmart_ap_is/models/{current_price.rb → quantity.rb} +85 -82
- data/lib/walmart_ap_is/models/quantity_discount_price_type.rb +90 -0
- data/lib/walmart_ap_is/models/quantity_discount_type.rb +26 -0
- data/lib/walmart_ap_is/models/quantity_with_unit.rb +85 -0
- data/lib/walmart_ap_is/models/query.rb +161 -0
- data/lib/walmart_ap_is/models/quote.rb +112 -0
- data/lib/walmart_ap_is/models/rate.rb +179 -0
- data/lib/walmart_ap_is/models/reason.rb +102 -0
- data/lib/walmart_ap_is/models/reason_code.rb +60 -0
- data/lib/walmart_ap_is/models/reason_comment.rb +64 -0
- data/lib/walmart_ap_is/models/refinements.rb +107 -0
- data/lib/walmart_ap_is/models/refund_order_line.rb +106 -0
- data/lib/walmart_ap_is/models/refund_order_lines_request.rb +83 -0
- data/lib/walmart_ap_is/models/refund_order_lines_response.rb +110 -0
- data/lib/walmart_ap_is/models/refund_type.rb +43 -0
- data/lib/walmart_ap_is/models/region.rb +95 -0
- data/lib/walmart_ap_is/models/regulated_category.rb +49 -0
- data/lib/walmart_ap_is/models/regulated_info.rb +155 -0
- data/lib/walmart_ap_is/models/rejected_shipping_service.rb +112 -0
- data/lib/walmart_ap_is/models/rejection_reason.rb +58 -0
- data/lib/walmart_ap_is/models/related_item.rb +77 -0
- data/lib/walmart_ap_is/models/report.rb +211 -0
- data/lib/walmart_ap_is/models/report_availability_response.rb +113 -0
- data/lib/walmart_ap_is/models/report_document.rb +97 -0
- data/lib/walmart_ap_is/models/report_schedule.rb +116 -0
- data/lib/walmart_ap_is/models/report_type.rb +358 -0
- data/lib/walmart_ap_is/models/report_type1.rb +356 -0
- data/lib/walmart_ap_is/models/requested_document_specification.rb +125 -0
- data/lib/walmart_ap_is/models/requested_updates.rb +103 -0
- data/lib/walmart_ap_is/models/requested_value_added_service.rb +86 -0
- data/lib/walmart_ap_is/models/required_verification_method.rb +45 -0
- data/lib/walmart_ap_is/models/requirements.rb +40 -0
- data/lib/walmart_ap_is/models/reserved_quantity.rb +112 -0
- data/lib/walmart_ap_is/models/resource.rb +36 -0
- data/lib/walmart_ap_is/models/response_type.rb +26 -0
- data/lib/walmart_ap_is/models/response_type1.rb +26 -0
- data/lib/walmart_ap_is/models/restriction.rb +103 -0
- data/lib/walmart_ap_is/models/restriction_list.rb +85 -0
- data/lib/walmart_ap_is/models/{successful_operation2.rb → sales_rank.rb} +105 -100
- data/lib/walmart_ap_is/models/sales_rank_type.rb +83 -0
- data/lib/walmart_ap_is/models/schedule_self_ship_appointment_request.rb +76 -0
- data/lib/walmart_ap_is/models/schedule_self_ship_appointment_response.rb +76 -0
- data/lib/walmart_ap_is/models/selected_delivery_window.rb +137 -0
- data/lib/walmart_ap_is/models/self_ship_appointment_details.rb +99 -0
- data/lib/walmart_ap_is/models/self_ship_appointment_slots_availability.rb +105 -0
- data/lib/walmart_ap_is/models/seller_account.rb +135 -0
- data/lib/walmart_ap_is/models/seller_feedback_type.rb +92 -0
- data/lib/walmart_ap_is/models/seller_sku_identifier.rb +92 -0
- data/lib/walmart_ap_is/models/seller_status.rb +44 -0
- data/lib/walmart_ap_is/models/seller_type.rb +40 -0
- data/lib/walmart_ap_is/models/service.rb +82 -0
- data/lib/walmart_ap_is/models/service_selection.rb +87 -0
- data/lib/walmart_ap_is/models/set_packing_information_request.rb +83 -0
- data/lib/walmart_ap_is/models/set_prep_details_request.rb +94 -0
- data/lib/walmart_ap_is/models/settlement_details_response.rb +105 -0
- data/lib/walmart_ap_is/models/settlement_period.rb +122 -0
- data/lib/walmart_ap_is/models/settlement_periods_response.rb +94 -0
- data/lib/walmart_ap_is/models/settlement_transaction.rb +117 -0
- data/lib/walmart_ap_is/models/severity.rb +40 -0
- data/lib/walmart_ap_is/models/ship_order_line.rb +94 -0
- data/lib/walmart_ap_is/models/ship_order_lines_request.rb +83 -0
- data/lib/walmart_ap_is/models/ship_order_lines_response.rb +96 -0
- data/lib/walmart_ap_is/models/ship_package.rb +120 -0
- data/lib/walmart_ap_is/models/ship_package_line.rb +85 -0
- data/lib/walmart_ap_is/models/shipment.rb +235 -0
- data/lib/walmart_ap_is/models/shipment1.rb +237 -0
- data/lib/walmart_ap_is/models/shipment_destination.rb +98 -0
- data/lib/walmart_ap_is/models/shipment_request_details.rb +171 -0
- data/lib/walmart_ap_is/models/shipment_source.rb +84 -0
- data/lib/walmart_ap_is/models/shipment_status.rb +40 -0
- data/lib/walmart_ap_is/models/shipment_status1.rb +46 -0
- data/lib/walmart_ap_is/models/shipment_status11.rb +44 -0
- data/lib/walmart_ap_is/models/shipment_summary.rb +85 -0
- data/lib/walmart_ap_is/models/shipment_transportation_configuration.rb +128 -0
- data/lib/walmart_ap_is/models/shipping_configuration.rb +90 -0
- data/lib/walmart_ap_is/models/{client_credentials_res.rb → shipping_requirements.rb} +84 -82
- data/lib/walmart_ap_is/models/shipping_service.rb +196 -0
- data/lib/walmart_ap_is/models/shipping_service_options.rb +114 -0
- data/lib/walmart_ap_is/models/shipping_speed_category.rb +44 -0
- data/lib/walmart_ap_is/models/ships_from_type.rb +85 -0
- data/lib/walmart_ap_is/models/size.rb +95 -0
- data/lib/walmart_ap_is/models/spd_tracking_detail.rb +86 -0
- data/lib/walmart_ap_is/models/spd_tracking_detail_input.rb +83 -0
- data/lib/walmart_ap_is/models/spd_tracking_item.rb +105 -0
- data/lib/walmart_ap_is/models/spd_tracking_item_input.rb +82 -0
- data/lib/walmart_ap_is/models/stackability.rb +36 -0
- data/lib/walmart_ap_is/models/standard_id_for_label.rb +26 -0
- data/lib/walmart_ap_is/models/status.rb +40 -0
- data/lib/walmart_ap_is/models/status1.rb +36 -0
- data/lib/walmart_ap_is/models/status11.rb +48 -0
- data/lib/walmart_ap_is/models/status2.rb +40 -0
- data/lib/walmart_ap_is/models/status21.rb +44 -0
- data/lib/walmart_ap_is/models/status3.rb +36 -0
- data/lib/walmart_ap_is/models/status4.rb +40 -0
- data/lib/walmart_ap_is/models/status5.rb +56 -0
- data/lib/walmart_ap_is/models/stock_status.rb +48 -0
- data/lib/walmart_ap_is/models/submit_ndr_feedback_request.rb +95 -0
- data/lib/walmart_ap_is/models/summary.rb +241 -0
- data/lib/walmart_ap_is/models/tax_details.rb +104 -0
- data/lib/walmart_ap_is/models/tax_rate.rb +95 -0
- data/lib/walmart_ap_is/models/token_endpoint_auth_method.rb +41 -0
- data/lib/walmart_ap_is/models/token_request.rb +152 -0
- data/lib/walmart_ap_is/models/{value1.rb → token_response.rb} +113 -101
- data/lib/walmart_ap_is/models/tracking_details.rb +90 -0
- data/lib/walmart_ap_is/models/tracking_details_input.rb +88 -0
- data/lib/walmart_ap_is/models/tracking_info.rb +111 -0
- data/lib/walmart_ap_is/models/tracking_summary.rb +95 -0
- data/lib/walmart_ap_is/models/transaction_search_response.rb +105 -0
- data/lib/walmart_ap_is/models/transportation_option.rb +151 -0
- data/lib/walmart_ap_is/models/transportation_selection.rb +97 -0
- data/lib/walmart_ap_is/models/type.rb +40 -0
- data/lib/walmart_ap_is/models/type1.rb +44 -0
- data/lib/walmart_ap_is/models/type11.rb +36 -0
- data/lib/walmart_ap_is/models/unit.rb +36 -0
- data/lib/walmart_ap_is/models/unit1.rb +36 -0
- data/lib/walmart_ap_is/models/unit11.rb +44 -0
- data/lib/walmart_ap_is/models/unit2.rb +44 -0
- data/lib/walmart_ap_is/models/unit_of_measurement.rb +36 -0
- data/lib/walmart_ap_is/models/unit_of_weight.rb +36 -0
- data/lib/walmart_ap_is/models/update_fulfillment_order_request.rb +116 -0
- data/lib/walmart_ap_is/models/{search_criteria.rb → update_fulfillment_order_response.rb} +81 -82
- data/lib/walmart_ap_is/models/update_inbound_plan_name_request.rb +72 -0
- data/lib/walmart_ap_is/models/update_inventory_request.rb +96 -0
- data/lib/walmart_ap_is/models/update_inventory_response.rb +104 -0
- data/lib/walmart_ap_is/models/update_item_compliance_details_request.rb +82 -0
- data/lib/walmart_ap_is/models/update_shipment_name_request.rb +72 -0
- data/lib/walmart_ap_is/models/update_shipment_source_address_request.rb +73 -0
- data/lib/walmart_ap_is/models/update_shipment_status_line.rb +86 -0
- data/lib/walmart_ap_is/models/update_shipment_status_request.rb +117 -0
- data/lib/walmart_ap_is/models/update_shipment_status_response.rb +108 -0
- data/lib/walmart_ap_is/models/update_shipment_tracking_details_request.rb +75 -0
- data/lib/walmart_ap_is/models/update_verification_status_request.rb +90 -0
- data/lib/walmart_ap_is/models/update_verification_status_response.rb +108 -0
- data/lib/walmart_ap_is/models/value_added_service.rb +84 -0
- data/lib/walmart_ap_is/models/variant.rb +52 -0
- data/lib/walmart_ap_is/models/variation_theme.rb +76 -0
- data/lib/walmart_ap_is/models/verification_status.rb +36 -0
- data/lib/walmart_ap_is/models/verification_status1.rb +36 -0
- data/lib/walmart_ap_is/models/walmart_item_identifier.rb +84 -0
- data/lib/walmart_ap_is/models/weight.rb +82 -0
- data/lib/walmart_ap_is/models/{token_api_res.rb → weight1.rb} +82 -82
- data/lib/walmart_ap_is/models/weight_range.rb +90 -0
- data/lib/walmart_ap_is/models/weight_unit.rb +40 -0
- data/lib/walmart_ap_is/models/wfs_inventory_age.rb +139 -0
- data/lib/walmart_ap_is/models/wfs_inventory_data.rb +183 -0
- data/lib/walmart_ap_is/models/wfs_inventory_insights.rb +175 -0
- data/lib/walmart_ap_is/models/wfs_item.rb +99 -0
- data/lib/walmart_ap_is/models/wfs_item_information.rb +135 -0
- data/lib/walmart_ap_is/models/{set_up_cap_sku_all_legacy_request.rb → wfs_prime_details_type.rb} +85 -85
- data/lib/walmart_ap_is/models/wfs_reserved_quantity.rb +77 -0
- data/lib/walmart_ap_is/models/wfs_unavailable_quantity.rb +90 -0
- data/lib/walmart_ap_is/models/window.rb +114 -0
- data/lib/walmart_ap_is/models/window_input.rb +81 -0
- data/lib/walmart_ap_is/utilities/date_time_helper.rb +11 -11
- data/lib/walmart_ap_is/utilities/file_wrapper.rb +17 -17
- data/lib/walmart_ap_is.rb +624 -122
- metadata +570 -72
- data/lib/walmart_ap_is/apis/cppreference_api.rb +0 -60
- data/lib/walmart_ap_is/apis/detail_api.rb +0 -58
- data/lib/walmart_ap_is/apis/feeds_feed_type_incentive_enrollment_api.rb +0 -66
- data/lib/walmart_ap_is/apis/feeds_feed_type_price_and_promotion_api.rb +0 -86
- data/lib/walmart_ap_is/apis/feeds_feed_type_walmart_funded_incentives_enrollment_api.rb +0 -75
- data/lib/walmart_ap_is/apis/get_pricing_insights_api.rb +0 -60
- data/lib/walmart_ap_is/apis/incentives_api.rb +0 -93
- data/lib/walmart_ap_is/apis/m_strategy_collection_id_api.rb +0 -118
- data/lib/walmart_ap_is/apis/misc_api.rb +0 -23
- data/lib/walmart_ap_is/apis/price_api.rb +0 -63
- data/lib/walmart_ap_is/apis/repricer_feeds_api.rb +0 -64
- data/lib/walmart_ap_is/apis/strategies_api.rb +0 -56
- data/lib/walmart_ap_is/apis/strategy_api.rb +0 -63
- data/lib/walmart_ap_is/apis/token_api.rb +0 -98
- data/lib/walmart_ap_is/apis/wfpreference_api.rb +0 -68
- data/lib/walmart_ap_is/models/create_repricer_strategy_request.rb +0 -149
- data/lib/walmart_ap_is/models/get_pricing_insights_request.rb +0 -109
- data/lib/walmart_ap_is/models/incentives_enrollment.rb +0 -95
- data/lib/walmart_ap_is/models/item_feed_header.rb +0 -119
- data/lib/walmart_ap_is/models/page_context.rb +0 -102
- data/lib/walmart_ap_is/models/pricing_insights_response_list.rb +0 -328
- data/lib/walmart_ap_is/models/program_action.rb +0 -83
- data/lib/walmart_ap_is/models/program_action_feed_header.rb +0 -147
- data/lib/walmart_ap_is/models/scopes.rb +0 -142
- data/lib/walmart_ap_is/models/strategy5.rb +0 -106
- data/lib/walmart_ap_is/models/strategy_collection.rb +0 -169
- data/lib/walmart_ap_is/models/successful_operation.rb +0 -159
- data/lib/walmart_ap_is/models/successful_operation6.rb +0 -93
- data/lib/walmart_ap_is/models/token_api_authorization_code.rb +0 -122
- data/lib/walmart_ap_is/models/token_api_client_credentials.rb +0 -122
- data/lib/walmart_ap_is/models/token_api_refresh_token.rb +0 -122
- data/lib/walmart_ap_is/models/update_reduced_referral_fee_incentives_enrollment_request.rb +0 -95
- data/lib/walmart_ap_is/models/update_repricer_strategy_request.rb +0 -149
- data/lib/walmart_ap_is/models/update_walmart_funded_incentives_enrollment_for_specific_items_request.rb +0 -95
|
@@ -0,0 +1,759 @@
|
|
|
1
|
+
# walmart_ap_is
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module WalmartApIs
|
|
7
|
+
# ProductPricingApi
|
|
8
|
+
class ProductPricingApi < BaseApi
|
|
9
|
+
# Returns pricing information for a seller's active offer listings based on
|
|
10
|
+
# seller SKU or Walmart Item ID (see ADR-029).
|
|
11
|
+
# @param [MarketplaceId] marketplace_id Required parameter: A marketplace
|
|
12
|
+
# identifier. Specifies the marketplace for which prices are returned.
|
|
13
|
+
# @param [ItemType] item_type Required parameter: Indicates whether Walmart
|
|
14
|
+
# Item ID values or seller SKU values are used to identify items.
|
|
15
|
+
# @param [Array[String]] skus Optional parameter: A list of up to twenty
|
|
16
|
+
# seller SKU values used to identify items in the given marketplace.
|
|
17
|
+
# @param [Array[String]] walmart_item_ids Optional parameter: A list of up
|
|
18
|
+
# to twenty Walmart Item ID values used to identify items in the given
|
|
19
|
+
# marketplace.
|
|
20
|
+
# @param [ConditionType2] item_condition Optional parameter: Filters the
|
|
21
|
+
# offer listings based on item condition. Possible values: New, Used,
|
|
22
|
+
# Collectible, Refurbished, Club.
|
|
23
|
+
# @param [OfferType] offer_type Optional parameter: Indicates whether to
|
|
24
|
+
# request pricing information for the seller's B2C or B2B offers. Default is
|
|
25
|
+
# B2C.
|
|
26
|
+
# @param [CustomerType] customer_type Optional parameter: Indicates whether
|
|
27
|
+
# to request Consumer or Business offers. Default is Consumer.
|
|
28
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
29
|
+
def get_pricing(marketplace_id,
|
|
30
|
+
item_type,
|
|
31
|
+
skus: nil,
|
|
32
|
+
walmart_item_ids: nil,
|
|
33
|
+
item_condition: nil,
|
|
34
|
+
offer_type: nil,
|
|
35
|
+
customer_type: nil)
|
|
36
|
+
@api_call
|
|
37
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
38
|
+
'/products/pricing/v4/price',
|
|
39
|
+
Server::DEFAULT1)
|
|
40
|
+
.query_param(new_parameter(marketplace_id, key: 'MarketplaceId')
|
|
41
|
+
.is_required(true))
|
|
42
|
+
.query_param(new_parameter(item_type, key: 'ItemType')
|
|
43
|
+
.is_required(true))
|
|
44
|
+
.query_param(new_parameter(skus, key: 'Skus'))
|
|
45
|
+
.query_param(new_parameter(walmart_item_ids, key: 'walmartItemIds'))
|
|
46
|
+
.query_param(new_parameter(item_condition, key: 'ItemCondition'))
|
|
47
|
+
.query_param(new_parameter(offer_type, key: 'OfferType'))
|
|
48
|
+
.query_param(new_parameter(customer_type, key: 'CustomerType'))
|
|
49
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
50
|
+
.auth(Single.new('walletAuth')))
|
|
51
|
+
.response(new_response_handler
|
|
52
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
53
|
+
.deserialize_into(GetPricingResponse.method(:from_hash))
|
|
54
|
+
.is_api_response(true)
|
|
55
|
+
.local_error('400',
|
|
56
|
+
'Bad Request',
|
|
57
|
+
ErrorErrorException)
|
|
58
|
+
.local_error('403',
|
|
59
|
+
'Forbidden',
|
|
60
|
+
ErrorErrorException)
|
|
61
|
+
.local_error('404',
|
|
62
|
+
'Not Found',
|
|
63
|
+
ErrorErrorException)
|
|
64
|
+
.local_error('429',
|
|
65
|
+
'Rate limit exceeded',
|
|
66
|
+
ErrorErrorException)
|
|
67
|
+
.local_error('500',
|
|
68
|
+
'Internal Server Error',
|
|
69
|
+
ErrorErrorException))
|
|
70
|
+
.execute
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Returns competitive pricing information for a seller's offer listings
|
|
74
|
+
# based on seller SKU or Walmart Item ID (see ADR-029).
|
|
75
|
+
# @param [MarketplaceId] marketplace_id Required parameter: A marketplace
|
|
76
|
+
# identifier. Specifies the marketplace for which prices are returned.
|
|
77
|
+
# @param [ItemType] item_type Required parameter: Indicates whether Walmart
|
|
78
|
+
# Item ID values or seller SKU values are used to identify items.
|
|
79
|
+
# @param [Array[String]] skus Optional parameter: A list of up to twenty
|
|
80
|
+
# seller SKU values used to identify items in the given marketplace.
|
|
81
|
+
# @param [Array[String]] walmart_item_ids Optional parameter: A list of up
|
|
82
|
+
# to twenty Walmart Item ID values used to identify items in the given
|
|
83
|
+
# marketplace.
|
|
84
|
+
# @param [CustomerType] customer_type Optional parameter: Indicates whether
|
|
85
|
+
# to request pricing information from the point of view of Consumer or
|
|
86
|
+
# Business buyers. Default is Consumer.
|
|
87
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
88
|
+
def get_competitive_pricing(marketplace_id,
|
|
89
|
+
item_type,
|
|
90
|
+
skus: nil,
|
|
91
|
+
walmart_item_ids: nil,
|
|
92
|
+
customer_type: nil)
|
|
93
|
+
@api_call
|
|
94
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
95
|
+
'/products/pricing/v4/competitivePrice',
|
|
96
|
+
Server::DEFAULT1)
|
|
97
|
+
.query_param(new_parameter(marketplace_id, key: 'MarketplaceId')
|
|
98
|
+
.is_required(true))
|
|
99
|
+
.query_param(new_parameter(item_type, key: 'ItemType')
|
|
100
|
+
.is_required(true))
|
|
101
|
+
.query_param(new_parameter(skus, key: 'Skus'))
|
|
102
|
+
.query_param(new_parameter(walmart_item_ids, key: 'walmartItemIds'))
|
|
103
|
+
.query_param(new_parameter(customer_type, key: 'CustomerType'))
|
|
104
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
105
|
+
.auth(Single.new('walletAuth')))
|
|
106
|
+
.response(new_response_handler
|
|
107
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
108
|
+
.deserialize_into(GetPricingResponse.method(:from_hash))
|
|
109
|
+
.is_api_response(true)
|
|
110
|
+
.local_error('400',
|
|
111
|
+
'Bad Request',
|
|
112
|
+
ErrorErrorException)
|
|
113
|
+
.local_error('403',
|
|
114
|
+
'Forbidden',
|
|
115
|
+
ErrorErrorException)
|
|
116
|
+
.local_error('404',
|
|
117
|
+
'Not Found',
|
|
118
|
+
ErrorErrorException)
|
|
119
|
+
.local_error('429',
|
|
120
|
+
'Rate limit exceeded',
|
|
121
|
+
ErrorErrorException)
|
|
122
|
+
.local_error('500',
|
|
123
|
+
'Internal Server Error',
|
|
124
|
+
ErrorErrorException))
|
|
125
|
+
.execute
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# Returns the lowest priced offers for a single SKU listing, based on SKU
|
|
129
|
+
# and item condition.
|
|
130
|
+
# @param [String] seller_sku Required parameter: Identifies an item in the
|
|
131
|
+
# given marketplace. SellerSKU is qualified by the seller's SellerId.
|
|
132
|
+
# @param [MarketplaceId] marketplace_id Required parameter: A marketplace
|
|
133
|
+
# identifier. Specifies the marketplace for which prices are returned.
|
|
134
|
+
# @param [ConditionType2] item_condition Required parameter: Filters the
|
|
135
|
+
# offer listings based on item condition. Possible values: New, Used,
|
|
136
|
+
# Collectible, Refurbished, Club.
|
|
137
|
+
# @param [CustomerType] customer_type Optional parameter: Indicates whether
|
|
138
|
+
# to request Consumer or Business offers. Default is Consumer.
|
|
139
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
140
|
+
def get_listing_offers(seller_sku,
|
|
141
|
+
marketplace_id,
|
|
142
|
+
item_condition,
|
|
143
|
+
customer_type: nil)
|
|
144
|
+
@api_call
|
|
145
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
146
|
+
'/products/pricing/v4/listings/{SellerSKU}/offers',
|
|
147
|
+
Server::DEFAULT1)
|
|
148
|
+
.template_param(new_parameter(seller_sku, key: 'SellerSKU')
|
|
149
|
+
.is_required(true)
|
|
150
|
+
.should_encode(true))
|
|
151
|
+
.query_param(new_parameter(marketplace_id, key: 'MarketplaceId')
|
|
152
|
+
.is_required(true))
|
|
153
|
+
.query_param(new_parameter(item_condition, key: 'ItemCondition')
|
|
154
|
+
.is_required(true))
|
|
155
|
+
.query_param(new_parameter(customer_type, key: 'CustomerType'))
|
|
156
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
157
|
+
.auth(Single.new('walletAuth')))
|
|
158
|
+
.response(new_response_handler
|
|
159
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
160
|
+
.deserialize_into(GetOffersResponse.method(:from_hash))
|
|
161
|
+
.is_api_response(true)
|
|
162
|
+
.local_error('400',
|
|
163
|
+
'Bad Request',
|
|
164
|
+
ErrorErrorException)
|
|
165
|
+
.local_error('403',
|
|
166
|
+
'Forbidden',
|
|
167
|
+
ErrorErrorException)
|
|
168
|
+
.local_error('404',
|
|
169
|
+
'Not Found',
|
|
170
|
+
ErrorErrorException)
|
|
171
|
+
.local_error('429',
|
|
172
|
+
'Rate limit exceeded',
|
|
173
|
+
ErrorErrorException)
|
|
174
|
+
.local_error('500',
|
|
175
|
+
'Internal Server Error',
|
|
176
|
+
ErrorErrorException))
|
|
177
|
+
.execute
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# Returns the lowest priced offers for a single item based on Walmart Item
|
|
181
|
+
# ID and item condition.
|
|
182
|
+
# Uses Walmart Item ID as the primary identifier per ADR-029 (ASIN not
|
|
183
|
+
# supported —
|
|
184
|
+
# no ASIN resolver exists in the Walmart platform; IQS queries by
|
|
185
|
+
# product.item_id).
|
|
186
|
+
# Backed by IQS catalog_index cross-seller query (same as getListingOffers
|
|
187
|
+
# hop-2).
|
|
188
|
+
# Returns 404 when no offers are found for the given itemId.
|
|
189
|
+
# @param [String] item_id Required parameter: The Walmart Item ID of the
|
|
190
|
+
# item.
|
|
191
|
+
# @param [String] marketplace_id Required parameter: A marketplace
|
|
192
|
+
# identifier. Specifies the marketplace for which prices are returned.
|
|
193
|
+
# @param [ConditionType2] item_condition Required parameter: Filters the
|
|
194
|
+
# offer listings based on item condition. Possible values: New, Used,
|
|
195
|
+
# Collectible, Refurbished, Club.
|
|
196
|
+
# @param [CustomerType] customer_type Optional parameter: Indicates whether
|
|
197
|
+
# to request Consumer or Business offers. Default is Consumer.
|
|
198
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
199
|
+
def get_item_offers(item_id,
|
|
200
|
+
marketplace_id,
|
|
201
|
+
item_condition,
|
|
202
|
+
customer_type: nil)
|
|
203
|
+
@api_call
|
|
204
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
205
|
+
'/products/pricing/v4/items/{itemId}/offers',
|
|
206
|
+
Server::DEFAULT1)
|
|
207
|
+
.template_param(new_parameter(item_id, key: 'itemId')
|
|
208
|
+
.is_required(true)
|
|
209
|
+
.should_encode(true))
|
|
210
|
+
.query_param(new_parameter(marketplace_id, key: 'MarketplaceId')
|
|
211
|
+
.is_required(true))
|
|
212
|
+
.query_param(new_parameter(item_condition, key: 'ItemCondition')
|
|
213
|
+
.is_required(true))
|
|
214
|
+
.query_param(new_parameter(customer_type, key: 'CustomerType'))
|
|
215
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
216
|
+
.auth(Single.new('walletAuth')))
|
|
217
|
+
.response(new_response_handler
|
|
218
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
219
|
+
.deserialize_into(GetOffersResponse.method(:from_hash))
|
|
220
|
+
.is_api_response(true)
|
|
221
|
+
.local_error('400',
|
|
222
|
+
'Bad Request',
|
|
223
|
+
ErrorErrorException)
|
|
224
|
+
.local_error('403',
|
|
225
|
+
'Forbidden',
|
|
226
|
+
ErrorErrorException)
|
|
227
|
+
.local_error('404',
|
|
228
|
+
'Not Found',
|
|
229
|
+
ErrorErrorException)
|
|
230
|
+
.local_error('429',
|
|
231
|
+
'Rate limit exceeded',
|
|
232
|
+
ErrorErrorException)
|
|
233
|
+
.local_error('500',
|
|
234
|
+
'Internal Server Error',
|
|
235
|
+
ErrorErrorException))
|
|
236
|
+
.execute
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# Batch version of getItemOffers. Accepts up to 20 Walmart Item ID requests.
|
|
240
|
+
# Uses Walmart Item ID as the primary identifier per ADR-029.
|
|
241
|
+
# Implemented as in-process fan-out over getItemOffers.
|
|
242
|
+
# Each item gets its own per-item HTTP status code in the response body;
|
|
243
|
+
# the outer HTTP response is always 200.
|
|
244
|
+
# Implemented: RCTPAPI-20856.
|
|
245
|
+
# @param [GetItemOffersBatchRequest] body Required parameter: TODO: type
|
|
246
|
+
# description here
|
|
247
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
248
|
+
def get_item_offers_batch(body)
|
|
249
|
+
@api_call
|
|
250
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
251
|
+
'/batches/products/pricing/v4/itemOffers',
|
|
252
|
+
Server::DEFAULT1)
|
|
253
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
254
|
+
.body_param(new_parameter(body)
|
|
255
|
+
.is_required(true))
|
|
256
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
257
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
258
|
+
.auth(Single.new('walletAuth')))
|
|
259
|
+
.response(new_response_handler
|
|
260
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
261
|
+
.deserialize_into(GetItemOffersBatchResponse.method(:from_hash))
|
|
262
|
+
.is_api_response(true)
|
|
263
|
+
.local_error('400',
|
|
264
|
+
'Bad Request',
|
|
265
|
+
ErrorErrorException)
|
|
266
|
+
.local_error('403',
|
|
267
|
+
'Forbidden',
|
|
268
|
+
ErrorErrorException)
|
|
269
|
+
.local_error('404',
|
|
270
|
+
'Not Found',
|
|
271
|
+
ErrorErrorException)
|
|
272
|
+
.local_error('429',
|
|
273
|
+
'Rate limit exceeded',
|
|
274
|
+
ErrorErrorException)
|
|
275
|
+
.local_error('500',
|
|
276
|
+
'Internal Server Error',
|
|
277
|
+
ErrorErrorException))
|
|
278
|
+
.execute
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
# Batch version of getListingOffers. Accepts up to 20 SKU requests.
|
|
282
|
+
# Implemented as in-process fan-out over getListingOffers (IQS-backed).
|
|
283
|
+
# Each SKU gets its own per-item HTTP status code in the response body;
|
|
284
|
+
# the outer HTTP response is always 200.
|
|
285
|
+
# Implemented: RCTPAPI-20857.
|
|
286
|
+
# @param [GetListingOffersBatchRequest] body Required parameter: TODO: type
|
|
287
|
+
# description here
|
|
288
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
289
|
+
def get_listing_offers_batch(body)
|
|
290
|
+
@api_call
|
|
291
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
292
|
+
'/batches/products/pricing/v4/listingOffers',
|
|
293
|
+
Server::DEFAULT1)
|
|
294
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
295
|
+
.body_param(new_parameter(body)
|
|
296
|
+
.is_required(true))
|
|
297
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
298
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
299
|
+
.auth(Single.new('walletAuth')))
|
|
300
|
+
.response(new_response_handler
|
|
301
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
302
|
+
.deserialize_into(GetListingOffersBatchResponse.method(:from_hash))
|
|
303
|
+
.is_api_response(true)
|
|
304
|
+
.local_error('400',
|
|
305
|
+
'Bad Request',
|
|
306
|
+
ErrorErrorException)
|
|
307
|
+
.local_error('403',
|
|
308
|
+
'Forbidden',
|
|
309
|
+
ErrorErrorException)
|
|
310
|
+
.local_error('404',
|
|
311
|
+
'Not Found',
|
|
312
|
+
ErrorErrorException)
|
|
313
|
+
.local_error('429',
|
|
314
|
+
'Rate limit exceeded',
|
|
315
|
+
ErrorErrorException)
|
|
316
|
+
.local_error('500',
|
|
317
|
+
'Internal Server Error',
|
|
318
|
+
ErrorErrorException))
|
|
319
|
+
.execute
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
# Returns competitive summary including featured buying options and lowest
|
|
323
|
+
# priced offers
|
|
324
|
+
# for a batch of Walmart Item IDs (see ADR-029).
|
|
325
|
+
# **Phase 1 stub** — no upstream data source identified.
|
|
326
|
+
# Returns HTTP 501 until an upstream is confirmed.
|
|
327
|
+
# Track: RCTPAPI-20858.
|
|
328
|
+
# @param [CompetitiveSummaryBatchRequest] body Required parameter: TODO:
|
|
329
|
+
# type description here
|
|
330
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
331
|
+
def get_competitive_summary(body)
|
|
332
|
+
@api_call
|
|
333
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
334
|
+
'/batches/products/pricing/v4/items/competitiveSummary',
|
|
335
|
+
Server::DEFAULT1)
|
|
336
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
337
|
+
.body_param(new_parameter(body)
|
|
338
|
+
.is_required(true))
|
|
339
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
340
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
341
|
+
.auth(Single.new('walletAuth')))
|
|
342
|
+
.response(new_response_handler
|
|
343
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
344
|
+
.deserialize_into(CompetitiveSummaryBatchResponse.method(:from_hash))
|
|
345
|
+
.is_api_response(true)
|
|
346
|
+
.local_error('400',
|
|
347
|
+
'Bad Request',
|
|
348
|
+
ErrorErrorException)
|
|
349
|
+
.local_error('403',
|
|
350
|
+
'Forbidden',
|
|
351
|
+
ErrorErrorException)
|
|
352
|
+
.local_error('404',
|
|
353
|
+
'Not Found',
|
|
354
|
+
ErrorErrorException)
|
|
355
|
+
.local_error('429',
|
|
356
|
+
'Rate limit exceeded',
|
|
357
|
+
ErrorErrorException)
|
|
358
|
+
.local_error('500',
|
|
359
|
+
'Internal Server Error',
|
|
360
|
+
ErrorErrorException))
|
|
361
|
+
.execute
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
# Returns the featured offer expected price (FOEP) for a batch of seller
|
|
365
|
+
# SKUs.
|
|
366
|
+
# **Phase 1 stub** — no upstream data source identified.
|
|
367
|
+
# Returns HTTP 501 until an upstream is confirmed.
|
|
368
|
+
# Track: RCTPAPI-20858.
|
|
369
|
+
# @param [GetFeaturedOfferExpectedPriceBatchRequest] body Required
|
|
370
|
+
# parameter: TODO: type description here
|
|
371
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
372
|
+
def get_featured_offer_expected_price_batch(body)
|
|
373
|
+
@api_call
|
|
374
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
375
|
+
'/batches/products/pricing/v4/offer/featuredOfferExpectedPrice',
|
|
376
|
+
Server::DEFAULT1)
|
|
377
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
378
|
+
.body_param(new_parameter(body)
|
|
379
|
+
.is_required(true))
|
|
380
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
381
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
382
|
+
.auth(Single.new('walletAuth')))
|
|
383
|
+
.response(new_response_handler
|
|
384
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
385
|
+
.deserialize_into(GetFeaturedOfferExpectedPriceBatchResponse.method(:from_hash))
|
|
386
|
+
.is_api_response(true)
|
|
387
|
+
.local_error('400',
|
|
388
|
+
'Bad Request',
|
|
389
|
+
ErrorErrorException)
|
|
390
|
+
.local_error('403',
|
|
391
|
+
'Forbidden',
|
|
392
|
+
ErrorErrorException)
|
|
393
|
+
.local_error('404',
|
|
394
|
+
'Not Found',
|
|
395
|
+
ErrorErrorException)
|
|
396
|
+
.local_error('429',
|
|
397
|
+
'Rate limit exceeded',
|
|
398
|
+
ErrorErrorException)
|
|
399
|
+
.local_error('500',
|
|
400
|
+
'Internal Server Error',
|
|
401
|
+
ErrorErrorException))
|
|
402
|
+
.execute
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
# TODO: type endpoint description here
|
|
406
|
+
# @param [Object] body Required parameter: TODO: type description here
|
|
407
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
408
|
+
def get_item_offers_batch1(body)
|
|
409
|
+
@api_call
|
|
410
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
411
|
+
'/batches/products/pricing/v4/itemOffers',
|
|
412
|
+
Server::DEFAULT1)
|
|
413
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
414
|
+
.body_param(new_parameter(body)
|
|
415
|
+
.is_required(true))
|
|
416
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
417
|
+
.body_serializer(APIHelper.method(:json_serialize))
|
|
418
|
+
.auth(Single.new('walletAuth')))
|
|
419
|
+
.response(new_response_handler
|
|
420
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
|
421
|
+
.is_api_response(true)
|
|
422
|
+
.local_error('400',
|
|
423
|
+
'Bad Request',
|
|
424
|
+
ErrorListErrorException)
|
|
425
|
+
.local_error('403',
|
|
426
|
+
'Forbidden',
|
|
427
|
+
ErrorListErrorException)
|
|
428
|
+
.local_error('404',
|
|
429
|
+
'Not Found',
|
|
430
|
+
ErrorListErrorException)
|
|
431
|
+
.local_error('429',
|
|
432
|
+
'Rate limit exceeded',
|
|
433
|
+
ErrorListErrorException)
|
|
434
|
+
.local_error('500',
|
|
435
|
+
'Internal Server Error',
|
|
436
|
+
ErrorListErrorException))
|
|
437
|
+
.execute
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
# TODO: type endpoint description here
|
|
441
|
+
# @param [Object] body Required parameter: TODO: type description here
|
|
442
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
443
|
+
def get_listing_offers_batch1(body)
|
|
444
|
+
@api_call
|
|
445
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
446
|
+
'/batches/products/pricing/v4/listingOffers',
|
|
447
|
+
Server::DEFAULT1)
|
|
448
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
449
|
+
.body_param(new_parameter(body)
|
|
450
|
+
.is_required(true))
|
|
451
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
452
|
+
.body_serializer(APIHelper.method(:json_serialize))
|
|
453
|
+
.auth(Single.new('walletAuth')))
|
|
454
|
+
.response(new_response_handler
|
|
455
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
|
456
|
+
.is_api_response(true)
|
|
457
|
+
.local_error('400',
|
|
458
|
+
'Bad Request',
|
|
459
|
+
ErrorListErrorException)
|
|
460
|
+
.local_error('403',
|
|
461
|
+
'Forbidden',
|
|
462
|
+
ErrorListErrorException)
|
|
463
|
+
.local_error('404',
|
|
464
|
+
'Not Found',
|
|
465
|
+
ErrorListErrorException)
|
|
466
|
+
.local_error('429',
|
|
467
|
+
'Rate limit exceeded',
|
|
468
|
+
ErrorListErrorException)
|
|
469
|
+
.local_error('500',
|
|
470
|
+
'Internal Server Error',
|
|
471
|
+
ErrorListErrorException))
|
|
472
|
+
.execute
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
# TODO: type endpoint description here
|
|
476
|
+
# @param [String] marketplace_id Required parameter: A marketplace
|
|
477
|
+
# identifier. Specifies the marketplace for which prices are returned.
|
|
478
|
+
# @param [String] item_type Required parameter: Indicates whether ASIN
|
|
479
|
+
# values or seller SKU values are used to identify items. If you specify
|
|
480
|
+
# Asin, the information in t
|
|
481
|
+
# @param [Array[String]] asins Optional parameter: A list of up to twenty
|
|
482
|
+
# SP-API Standard Identification Number (ASIN) values used to identify items
|
|
483
|
+
# in the given marketpla
|
|
484
|
+
# @param [Array[String]] skus Optional parameter: A list of up to twenty
|
|
485
|
+
# seller SKU values used to identify items in the given marketplace.
|
|
486
|
+
# @param [String] customer_type Optional parameter: Indicates whether to
|
|
487
|
+
# request pricing information from the point of view of Consumer or Business
|
|
488
|
+
# buyers. Default is Consu
|
|
489
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
490
|
+
def get_competitive_pricing1(marketplace_id,
|
|
491
|
+
item_type,
|
|
492
|
+
asins: nil,
|
|
493
|
+
skus: nil,
|
|
494
|
+
customer_type: nil)
|
|
495
|
+
@api_call
|
|
496
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
497
|
+
'/products/pricing/v4/competitivePrice',
|
|
498
|
+
Server::DEFAULT1)
|
|
499
|
+
.query_param(new_parameter(marketplace_id, key: 'MarketplaceId')
|
|
500
|
+
.is_required(true))
|
|
501
|
+
.query_param(new_parameter(item_type, key: 'ItemType')
|
|
502
|
+
.is_required(true))
|
|
503
|
+
.query_param(new_parameter(asins, key: 'Asins'))
|
|
504
|
+
.query_param(new_parameter(skus, key: 'Skus'))
|
|
505
|
+
.query_param(new_parameter(customer_type, key: 'CustomerType'))
|
|
506
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
507
|
+
.auth(Single.new('walletAuth')))
|
|
508
|
+
.response(new_response_handler
|
|
509
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
|
510
|
+
.is_api_response(true)
|
|
511
|
+
.local_error('400',
|
|
512
|
+
'Bad Request',
|
|
513
|
+
ErrorListErrorException)
|
|
514
|
+
.local_error('403',
|
|
515
|
+
'Forbidden',
|
|
516
|
+
ErrorListErrorException)
|
|
517
|
+
.local_error('404',
|
|
518
|
+
'Not Found',
|
|
519
|
+
ErrorListErrorException)
|
|
520
|
+
.local_error('429',
|
|
521
|
+
'Rate limit exceeded',
|
|
522
|
+
ErrorListErrorException)
|
|
523
|
+
.local_error('500',
|
|
524
|
+
'Internal Server Error',
|
|
525
|
+
ErrorListErrorException))
|
|
526
|
+
.execute
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
# TODO: type endpoint description here
|
|
530
|
+
# @param [String] marketplace_id Required parameter: A marketplace
|
|
531
|
+
# identifier. Specifies the marketplace for which prices are returned.
|
|
532
|
+
# @param [String] item_condition Required parameter: Filters the offer
|
|
533
|
+
# listings to be considered based on item condition. Possible values: New,
|
|
534
|
+
# Used, Collectible, Refurbishe
|
|
535
|
+
# @param [String] asin Required parameter: The SP-API Standard
|
|
536
|
+
# Identification Number (ASIN) of the item.
|
|
537
|
+
# @param [String] customer_type Optional parameter: Indicates whether to
|
|
538
|
+
# request Consumer or Business offers. Default is Consumer.
|
|
539
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
540
|
+
def get_item_offers1(marketplace_id,
|
|
541
|
+
item_condition,
|
|
542
|
+
asin,
|
|
543
|
+
customer_type: nil)
|
|
544
|
+
@api_call
|
|
545
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
546
|
+
'/products/pricing/v4/items/{Asin}/offers',
|
|
547
|
+
Server::DEFAULT1)
|
|
548
|
+
.query_param(new_parameter(marketplace_id, key: 'MarketplaceId')
|
|
549
|
+
.is_required(true))
|
|
550
|
+
.query_param(new_parameter(item_condition, key: 'ItemCondition')
|
|
551
|
+
.is_required(true))
|
|
552
|
+
.template_param(new_parameter(asin, key: 'Asin')
|
|
553
|
+
.is_required(true)
|
|
554
|
+
.should_encode(true))
|
|
555
|
+
.query_param(new_parameter(customer_type, key: 'CustomerType'))
|
|
556
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
557
|
+
.auth(Single.new('walletAuth')))
|
|
558
|
+
.response(new_response_handler
|
|
559
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
|
560
|
+
.is_api_response(true)
|
|
561
|
+
.local_error('400',
|
|
562
|
+
'Bad Request',
|
|
563
|
+
ErrorListErrorException)
|
|
564
|
+
.local_error('403',
|
|
565
|
+
'Forbidden',
|
|
566
|
+
ErrorListErrorException)
|
|
567
|
+
.local_error('404',
|
|
568
|
+
'Not Found',
|
|
569
|
+
ErrorListErrorException)
|
|
570
|
+
.local_error('429',
|
|
571
|
+
'Rate limit exceeded',
|
|
572
|
+
ErrorListErrorException)
|
|
573
|
+
.local_error('500',
|
|
574
|
+
'Internal Server Error',
|
|
575
|
+
ErrorListErrorException))
|
|
576
|
+
.execute
|
|
577
|
+
end
|
|
578
|
+
|
|
579
|
+
# TODO: type endpoint description here
|
|
580
|
+
# @param [String] marketplace_id Required parameter: A marketplace
|
|
581
|
+
# identifier. Specifies the marketplace for which prices are returned.
|
|
582
|
+
# @param [String] item_condition Required parameter: Filters the offer
|
|
583
|
+
# listings based on item condition. Possible values: New, Used, Collectible,
|
|
584
|
+
# Refurbished, Club.
|
|
585
|
+
# @param [String] seller_sku Required parameter: Identifies an item in the
|
|
586
|
+
# given marketplace. SellerSKU is qualified by the seller's SellerId, which
|
|
587
|
+
# is included with eve
|
|
588
|
+
# @param [String] customer_type Optional parameter: Indicates whether to
|
|
589
|
+
# request Consumer or Business offers. Default is Consumer.
|
|
590
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
591
|
+
def get_listing_offers1(marketplace_id,
|
|
592
|
+
item_condition,
|
|
593
|
+
seller_sku,
|
|
594
|
+
customer_type: nil)
|
|
595
|
+
@api_call
|
|
596
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
597
|
+
'/products/pricing/v4/listings/{SellerSKU}/offers',
|
|
598
|
+
Server::DEFAULT1)
|
|
599
|
+
.query_param(new_parameter(marketplace_id, key: 'MarketplaceId')
|
|
600
|
+
.is_required(true))
|
|
601
|
+
.query_param(new_parameter(item_condition, key: 'ItemCondition')
|
|
602
|
+
.is_required(true))
|
|
603
|
+
.template_param(new_parameter(seller_sku, key: 'SellerSKU')
|
|
604
|
+
.is_required(true)
|
|
605
|
+
.should_encode(true))
|
|
606
|
+
.query_param(new_parameter(customer_type, key: 'CustomerType'))
|
|
607
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
608
|
+
.auth(Single.new('walletAuth')))
|
|
609
|
+
.response(new_response_handler
|
|
610
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
|
611
|
+
.is_api_response(true)
|
|
612
|
+
.local_error('400',
|
|
613
|
+
'Bad Request',
|
|
614
|
+
ErrorListErrorException)
|
|
615
|
+
.local_error('403',
|
|
616
|
+
'Forbidden',
|
|
617
|
+
ErrorListErrorException)
|
|
618
|
+
.local_error('404',
|
|
619
|
+
'Not Found',
|
|
620
|
+
ErrorListErrorException)
|
|
621
|
+
.local_error('429',
|
|
622
|
+
'Rate limit exceeded',
|
|
623
|
+
ErrorListErrorException)
|
|
624
|
+
.local_error('500',
|
|
625
|
+
'Internal Server Error',
|
|
626
|
+
ErrorListErrorException))
|
|
627
|
+
.execute
|
|
628
|
+
end
|
|
629
|
+
|
|
630
|
+
# TODO: type endpoint description here
|
|
631
|
+
# @param [String] marketplace_id Required parameter: A marketplace
|
|
632
|
+
# identifier. Specifies the marketplace for which prices are returned.
|
|
633
|
+
# @param [String] item_type Required parameter: Indicates whether ASIN
|
|
634
|
+
# values or seller SKU values are used to identify items. If you specify
|
|
635
|
+
# Asin, the information in t
|
|
636
|
+
# @param [Array[String]] asins Optional parameter: A list of up to twenty
|
|
637
|
+
# SP-API Standard Identification Number (ASIN) values used to identify items
|
|
638
|
+
# in the given marketpla
|
|
639
|
+
# @param [Array[String]] skus Optional parameter: A list of up to twenty
|
|
640
|
+
# seller SKU values used to identify items in the given marketplace.
|
|
641
|
+
# @param [String] item_condition Optional parameter: Filters the offer
|
|
642
|
+
# listings based on item condition. Possible values: New, Used, Collectible,
|
|
643
|
+
# Refurbished, Club.
|
|
644
|
+
# @param [String] offer_type Optional parameter: Indicates whether to
|
|
645
|
+
# request pricing information for the seller's B2C or B2B offers. Default is
|
|
646
|
+
# B2C.
|
|
647
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
648
|
+
def get_pricing1(marketplace_id,
|
|
649
|
+
item_type,
|
|
650
|
+
asins: nil,
|
|
651
|
+
skus: nil,
|
|
652
|
+
item_condition: nil,
|
|
653
|
+
offer_type: nil)
|
|
654
|
+
@api_call
|
|
655
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
656
|
+
'/products/pricing/v4/price',
|
|
657
|
+
Server::DEFAULT1)
|
|
658
|
+
.query_param(new_parameter(marketplace_id, key: 'MarketplaceId')
|
|
659
|
+
.is_required(true))
|
|
660
|
+
.query_param(new_parameter(item_type, key: 'ItemType')
|
|
661
|
+
.is_required(true))
|
|
662
|
+
.query_param(new_parameter(asins, key: 'Asins'))
|
|
663
|
+
.query_param(new_parameter(skus, key: 'Skus'))
|
|
664
|
+
.query_param(new_parameter(item_condition, key: 'ItemCondition'))
|
|
665
|
+
.query_param(new_parameter(offer_type, key: 'OfferType'))
|
|
666
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
667
|
+
.auth(Single.new('walletAuth')))
|
|
668
|
+
.response(new_response_handler
|
|
669
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
|
670
|
+
.is_api_response(true)
|
|
671
|
+
.local_error('400',
|
|
672
|
+
'Bad Request',
|
|
673
|
+
ErrorListErrorException)
|
|
674
|
+
.local_error('403',
|
|
675
|
+
'Forbidden',
|
|
676
|
+
ErrorListErrorException)
|
|
677
|
+
.local_error('404',
|
|
678
|
+
'Not Found',
|
|
679
|
+
ErrorListErrorException)
|
|
680
|
+
.local_error('429',
|
|
681
|
+
'Rate limit exceeded',
|
|
682
|
+
ErrorListErrorException)
|
|
683
|
+
.local_error('500',
|
|
684
|
+
'Internal Server Error',
|
|
685
|
+
ErrorListErrorException))
|
|
686
|
+
.execute
|
|
687
|
+
end
|
|
688
|
+
|
|
689
|
+
# TODO: type endpoint description here
|
|
690
|
+
# @param [Object] body Required parameter: TODO: type description here
|
|
691
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
692
|
+
def get_competitive_summary1(body)
|
|
693
|
+
@api_call
|
|
694
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
695
|
+
'/batches/products/pricing/v4/items/competitiveSummary',
|
|
696
|
+
Server::DEFAULT1)
|
|
697
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
698
|
+
.body_param(new_parameter(body)
|
|
699
|
+
.is_required(true))
|
|
700
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
701
|
+
.body_serializer(APIHelper.method(:json_serialize))
|
|
702
|
+
.auth(Single.new('walletAuth')))
|
|
703
|
+
.response(new_response_handler
|
|
704
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
|
705
|
+
.is_api_response(true)
|
|
706
|
+
.local_error('400',
|
|
707
|
+
'Bad Request',
|
|
708
|
+
ErrorListErrorException)
|
|
709
|
+
.local_error('403',
|
|
710
|
+
'Forbidden',
|
|
711
|
+
ErrorListErrorException)
|
|
712
|
+
.local_error('404',
|
|
713
|
+
'Not Found',
|
|
714
|
+
ErrorListErrorException)
|
|
715
|
+
.local_error('429',
|
|
716
|
+
'Rate limit exceeded',
|
|
717
|
+
ErrorListErrorException)
|
|
718
|
+
.local_error('500',
|
|
719
|
+
'Internal Server Error',
|
|
720
|
+
ErrorListErrorException))
|
|
721
|
+
.execute
|
|
722
|
+
end
|
|
723
|
+
|
|
724
|
+
# TODO: type endpoint description here
|
|
725
|
+
# @param [Object] body Required parameter: TODO: type description here
|
|
726
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
727
|
+
def get_featured_offer_expected_price_batch1(body)
|
|
728
|
+
@api_call
|
|
729
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
730
|
+
'/batches/products/pricing/v4/offer/featuredOfferExpectedPrice',
|
|
731
|
+
Server::DEFAULT1)
|
|
732
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
733
|
+
.body_param(new_parameter(body)
|
|
734
|
+
.is_required(true))
|
|
735
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
736
|
+
.body_serializer(APIHelper.method(:json_serialize))
|
|
737
|
+
.auth(Single.new('walletAuth')))
|
|
738
|
+
.response(new_response_handler
|
|
739
|
+
.deserializer(APIHelper.method(:json_deserialize))
|
|
740
|
+
.is_api_response(true)
|
|
741
|
+
.local_error('400',
|
|
742
|
+
'Bad Request',
|
|
743
|
+
ErrorListErrorException)
|
|
744
|
+
.local_error('403',
|
|
745
|
+
'Forbidden',
|
|
746
|
+
ErrorListErrorException)
|
|
747
|
+
.local_error('404',
|
|
748
|
+
'Not Found',
|
|
749
|
+
ErrorListErrorException)
|
|
750
|
+
.local_error('429',
|
|
751
|
+
'Rate limit exceeded',
|
|
752
|
+
ErrorListErrorException)
|
|
753
|
+
.local_error('500',
|
|
754
|
+
'Internal Server Error',
|
|
755
|
+
ErrorListErrorException))
|
|
756
|
+
.execute
|
|
757
|
+
end
|
|
758
|
+
end
|
|
759
|
+
end
|