crossly_buyer 0.4.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 +7 -0
- data/Gemfile +9 -0
- data/README.md +473 -0
- data/Rakefile +10 -0
- data/crossly_buyer.gemspec +38 -0
- data/docs/BuyerAgentApi.md +483 -0
- data/docs/BuyerApi.md +21974 -0
- data/docs/BuyerCatalogApi.md +1496 -0
- data/docs/BuyerCheckoutApi.md +214 -0
- data/docs/BuyerMonitorsApi.md +351 -0
- data/docs/DropsApi.md +211 -0
- data/git_push.sh +57 -0
- data/lib/crossly_buyer/api/buyer_agent_api.rb +470 -0
- data/lib/crossly_buyer/api/buyer_api.rb +19835 -0
- data/lib/crossly_buyer/api/buyer_catalog_api.rb +1543 -0
- data/lib/crossly_buyer/api/buyer_checkout_api.rb +215 -0
- data/lib/crossly_buyer/api/buyer_monitors_api.rb +337 -0
- data/lib/crossly_buyer/api/drops_api.rb +205 -0
- data/lib/crossly_buyer/api_client.rb +390 -0
- data/lib/crossly_buyer/api_error.rb +57 -0
- data/lib/crossly_buyer/client.rb +18 -0
- data/lib/crossly_buyer/configuration.rb +278 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_request.rb +337 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_response.rb +223 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_response_data.rb +229 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_response_data_match.rb +339 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_response_data_match_catalog.rb +247 -0
- data/lib/crossly_buyer/models/activity/create_buyer_activity_response_data_match_offer.rb +338 -0
- data/lib/crossly_buyer/models/activity/list_buyer_activity_item.rb +309 -0
- data/lib/crossly_buyer/models/activity/list_buyer_activity_response.rb +248 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_request.rb +275 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response.rb +300 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_links.rb +237 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_navigate.rb +238 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_payment.rb +243 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_quote.rb +459 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_quote_layaway.rb +266 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_quote_price_check.rb +327 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_act_response_quote_protection_plans.rb +261 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_react_request.rb +267 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_response.rb +261 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_response_brief.rb +464 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_response_brief_pending.rb +324 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_request.rb +228 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_response.rb +273 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_response_action.rb +291 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_response_action_quote.rb +459 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_response_brief.rb +464 -0
- data/lib/crossly_buyer/models/agent/create_buyer_agent_session_turn_response_options.rb +396 -0
- data/lib/crossly_buyer/models/agent/delete_buyer_agent_session_response.rb +223 -0
- data/lib/crossly_buyer/models/agent/get_buyer_agent_session_response.rb +291 -0
- data/lib/crossly_buyer/models/agent/get_buyer_agent_session_response_turns.rb +313 -0
- data/lib/crossly_buyer/models/agent/list_buyer_agent_sessions_item.rb +261 -0
- data/lib/crossly_buyer/models/agent/list_buyer_agent_sessions_response.rb +248 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_bid_request.rb +278 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_bid_response.rb +223 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_bid_response_data.rb +268 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_pay_response.rb +223 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_pay_response_data.rb +254 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_retract_request.rb +258 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_retract_response.rb +223 -0
- data/lib/crossly_buyer/models/auction/create_buyer_auction_retract_response_data.rb +223 -0
- data/lib/crossly_buyer/models/auction/get_buyer_auction_me_response.rb +223 -0
- data/lib/crossly_buyer/models/auction/get_buyer_auction_me_response_data.rb +264 -0
- data/lib/crossly_buyer/models/auction/list_buyer_auction_bids_item.rb +248 -0
- data/lib/crossly_buyer/models/auction/list_buyer_auction_bids_response.rb +248 -0
- data/lib/crossly_buyer/models/auction/list_buyer_auctions_item.rb +338 -0
- data/lib/crossly_buyer/models/auction/list_buyer_auctions_response.rb +248 -0
- data/lib/crossly_buyer/models/board/create_buyer_board_item_request.rb +223 -0
- data/lib/crossly_buyer/models/board/create_buyer_board_request.rb +241 -0
- data/lib/crossly_buyer/models/board/create_buyer_board_response.rb +223 -0
- data/lib/crossly_buyer/models/board/create_buyer_board_response_data.rb +237 -0
- data/lib/crossly_buyer/models/board/list_buyer_boards_item.rb +303 -0
- data/lib/crossly_buyer/models/board/list_buyer_boards_response.rb +248 -0
- data/lib/crossly_buyer/models/board/update_buyer_board_layout_request.rb +225 -0
- data/lib/crossly_buyer/models/board/update_buyer_board_layout_request_items.rb +288 -0
- data/lib/crossly_buyer/models/board/update_buyer_board_request.rb +236 -0
- data/lib/crossly_buyer/models/breaks/create_buyer_break_spot_hold_response.rb +223 -0
- data/lib/crossly_buyer/models/breaks/create_buyer_break_spot_hold_response_data.rb +233 -0
- data/lib/crossly_buyer/models/breaks/get_buyer_break_response.rb +219 -0
- data/lib/crossly_buyer/models/breaks/get_buyer_break_response_data.rb +413 -0
- data/lib/crossly_buyer/models/breaks/get_buyer_break_response_data_draw.rb +237 -0
- data/lib/crossly_buyer/models/breaks/get_buyer_break_response_data_seller.rb +229 -0
- data/lib/crossly_buyer/models/breaks/get_buyer_break_response_data_spots.rb +337 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_item_request.rb +278 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_item_response.rb +223 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_item_response_data.rb +251 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_request.rb +232 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_response.rb +223 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_response_data.rb +297 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_response_data_lines.rb +247 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_response_data_lines_line.rb +237 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_optimizer_response_data_lines_pick.rb +289 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_quote_request.rb +231 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_quote_response.rb +237 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_quote_response_data.rb +427 -0
- data/lib/crossly_buyer/models/cart/create_buyer_cart_quote_response_meta.rb +223 -0
- data/lib/crossly_buyer/models/cart/list_buyer_cart_item.rb +319 -0
- data/lib/crossly_buyer/models/cart/list_buyer_cart_response.rb +248 -0
- data/lib/crossly_buyer/models/cart/list_buyer_cart_saved_item.rb +403 -0
- data/lib/crossly_buyer/models/cases/create_buyer_case_counter_request.rb +268 -0
- data/lib/crossly_buyer/models/cases/create_buyer_case_message_request.rb +279 -0
- data/lib/crossly_buyer/models/cases/create_buyer_case_respond_request.rb +258 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response.rb +223 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response_data.rb +259 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response_data_case.rb +389 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response_data_messages.rb +293 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response_data_purchase.rb +271 -0
- data/lib/crossly_buyer/models/cases/get_buyer_case_response_data_return_shipment.rb +293 -0
- data/lib/crossly_buyer/models/cases/list_buyer_cases_item.rb +480 -0
- data/lib/crossly_buyer/models/cases/list_buyer_cases_response.rb +248 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response.rb +223 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response_data.rb +481 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response_data_buyout.rb +247 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response_data_cancellation.rb +274 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response_data_cancellation_tiers.rb +239 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_quote_response_data_lines.rb +286 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_request.rb +319 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_request_ship_to.rb +309 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_response.rb +223 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_response_data.rb +275 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_rental_response_data_quote.rb +370 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_video_request_request.rb +219 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_video_request_response.rb +223 -0
- data/lib/crossly_buyer/models/catalog/create_buyer_catalog_listing_video_request_response_data.rb +333 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_facet_response.rb +257 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_fx_response.rb +251 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_availability_response.rb +293 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_my_size_response.rb +219 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_my_size_response_data.rb +341 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_my_size_response_data_one_of_brand_runs.rb +271 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_price_response.rb +223 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_price_response_data.rb +263 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_price_response_data_lowest_anywhere.rb +237 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_price_response_data_price_check.rb +341 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_price_response_data_price_match.rb +247 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response.rb +219 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data.rb +393 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_booked.rb +237 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options.rb +878 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_cancellation.rb +273 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_damage_waiver.rb +266 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_deposit.rb +285 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_extensions.rb +247 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_last_minute.rb +238 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_late_escalation.rb +271 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_length_discounts.rb +237 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_photos_back.rb +224 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_photos_out.rb +233 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_pickup.rb +243 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_options_seasonal.rb +262 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_policy.rb +295 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_rental_response_data_policy_arrival_photos.rb +237 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_response.rb +473 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_response_description_blocks_item.rb +274 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_response_token_gate.rb +239 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_response_variants.rb +331 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_shipping_response.rb +425 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_shipping_response_international.rb +253 -0
- data/lib/crossly_buyer/models/catalog/get_buyer_catalog_listing_shipping_response_services.rb +330 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_browse_item.rb +491 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_browse_response.rb +248 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_listing_sold_history_item.rb +252 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_listing_sold_history_response.rb +248 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_listing_videos_item.rb +271 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_listing_videos_response.rb +248 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_search_item.rb +432 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_search_response.rb +248 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_sellers_item.rb +289 -0
- data/lib/crossly_buyer/models/catalog/list_buyer_catalog_sellers_response.rb +248 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_request.rb +379 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_request_gift.rb +265 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_request_pickup_point.rb +320 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_request_pickup_point_address.rb +289 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_request_ship_to.rb +298 -0
- data/lib/crossly_buyer/models/checkout/create_buyer_checkout_response.rb +327 -0
- data/lib/crossly_buyer/models/checkout/get_buyer_checkout_control_response.rb +279 -0
- data/lib/crossly_buyer/models/checkout/get_buyer_checkout_usdc_response.rb +223 -0
- data/lib/crossly_buyer/models/checkout/get_buyer_checkout_usdc_response_data.rb +263 -0
- data/lib/crossly_buyer/models/checkout/update_buyer_checkout_control_request.rb +265 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_offer_response.rb +223 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_offer_response_data.rb +283 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_offer_response_data_offer.rb +251 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_offer_response_data_pending.rb +251 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_set_response.rb +223 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_set_response_data.rb +335 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_set_response_data_group.rb +307 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_set_response_data_leaderboard.rb +251 -0
- data/lib/crossly_buyer/models/collection/get_buyer_collection_set_response_data_pieces.rb +285 -0
- data/lib/crossly_buyer/models/collection/update_buyer_collection_set_leaderboard_request.rb +223 -0
- data/lib/crossly_buyer/models/collection/update_buyer_collection_set_leaderboard_response.rb +223 -0
- data/lib/crossly_buyer/models/collection/update_buyer_collection_set_leaderboard_response_data.rb +237 -0
- data/lib/crossly_buyer/models/common/buyer_board_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_board_response_data.rb +339 -0
- data/lib/crossly_buyer/models/common/buyer_board_response_data_items.rb +347 -0
- data/lib/crossly_buyer/models/common/buyer_cart_response.rb +248 -0
- data/lib/crossly_buyer/models/common/buyer_company_response.rb +219 -0
- data/lib/crossly_buyer/models/common/buyer_company_response_data.rb +303 -0
- data/lib/crossly_buyer/models/common/buyer_company_response_data_addresses.rb +351 -0
- data/lib/crossly_buyer/models/common/buyer_company_response_data_members.rb +335 -0
- data/lib/crossly_buyer/models/common/buyer_company_response_data_you.rb +281 -0
- data/lib/crossly_buyer/models/common/buyer_home_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data.rb +496 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_decor.rb +252 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_gift_shelf.rb +254 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_gift_shelf_items.rb +271 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_guestbook.rb +291 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_guestbook_author.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_layout.rb +395 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_layout_item.rb +343 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_layout_ref.rb +271 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_owner.rb +237 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_pin_case.rb +251 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_pulls_shelf.rb +226 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_pulls_shelf_items.rb +305 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_room.rb +341 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_room_floor.rb +265 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_set_wall.rb +297 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_set_wall_choices.rb +265 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_set_wall_pieces.rb +261 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_vault_wall.rb +271 -0
- data/lib/crossly_buyer/models/common/buyer_home_response_data_vault_wall_units.rb +280 -0
- data/lib/crossly_buyer/models/common/buyer_layaway_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_registry_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_registry_response_data.rb +363 -0
- data/lib/crossly_buyer/models/common/buyer_registry_response_data_items.rb +345 -0
- data/lib/crossly_buyer/models/common/buyer_rental_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_rental_response_data.rb +928 -0
- data/lib/crossly_buyer/models/common/buyer_rental_response_data_inspection.rb +237 -0
- data/lib/crossly_buyer/models/common/buyer_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_response2.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_response2_data.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_response3.rb +248 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_order_sheet_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_order_sheet_response_data.rb +374 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_order_sheet_response_data_lines.rb +407 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_order_sheet_response_data_lines_flags_item.rb +40 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_order_sheet_response_data_lines_terms.rb +281 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_quote_response.rb +223 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_quote_response_data.rb +450 -0
- data/lib/crossly_buyer/models/common/buyer_wholesale_quote_response_data_items.rb +311 -0
- data/lib/crossly_buyer/models/common/create_buyer_company_approval_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_company_approval_response_data.rb +377 -0
- data/lib/crossly_buyer/models/common/create_buyer_conversation_join_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_conversation_join_response_data.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_drop_join_response.rb +251 -0
- data/lib/crossly_buyer/models/common/create_buyer_drop_join_response_me.rb +364 -0
- data/lib/crossly_buyer/models/common/create_buyer_following_seller_seen_request.rb +219 -0
- data/lib/crossly_buyer/models/common/create_buyer_following_seller_seen_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_following_seller_seen_response_data.rb +237 -0
- data/lib/crossly_buyer/models/common/create_buyer_group_buy_join_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_group_buy_join_response_data.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_identify_request.rb +268 -0
- data/lib/crossly_buyer/models/common/create_buyer_identify_response.rb +449 -0
- data/lib/crossly_buyer/models/common/create_buyer_identify_response_visual_matches.rb +276 -0
- data/lib/crossly_buyer/models/common/create_buyer_layaway_pay_request.rb +218 -0
- data/lib/crossly_buyer/models/common/create_buyer_market_bid_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_market_bid_response_data.rb +237 -0
- data/lib/crossly_buyer/models/common/create_buyer_protection_plan_cancel_response.rb +223 -0
- data/lib/crossly_buyer/models/common/create_buyer_protection_plan_cancel_response_data.rb +223 -0
- data/lib/crossly_buyer/models/common/delete_buyer_drop_join_response.rb +223 -0
- data/lib/crossly_buyer/models/common/delete_buyer_try_on_response.rb +223 -0
- data/lib/crossly_buyer/models/common/delete_buyer_try_on_response_data.rb +223 -0
- data/lib/crossly_buyer/models/common/error.rb +234 -0
- data/lib/crossly_buyer/models/common/error_error.rb +250 -0
- data/lib/crossly_buyer/models/common/for_occasion.rb +230 -0
- data/lib/crossly_buyer/models/common/get_buyer_anywhere_response.rb +339 -0
- data/lib/crossly_buyer/models/common/get_buyer_badge_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_badge_response_data.rb +279 -0
- data/lib/crossly_buyer/models/common/get_buyer_creator_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_creator_response_data.rb +239 -0
- data/lib/crossly_buyer/models/common/get_buyer_creator_response_data_creator.rb +263 -0
- data/lib/crossly_buyer/models/common/get_buyer_drop_me_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_fit_vocabulary_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_fit_vocabulary_response_data.rb +225 -0
- data/lib/crossly_buyer/models/common/get_buyer_fit_vocabulary_response_data_kinds.rb +253 -0
- data/lib/crossly_buyer/models/common/get_buyer_group_buy_share_link_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_group_buy_share_link_response_data.rb +267 -0
- data/lib/crossly_buyer/models/common/get_buyer_group_buy_share_link_response_data_next.rb +237 -0
- data/lib/crossly_buyer/models/common/get_buyer_impact_response.rb +219 -0
- data/lib/crossly_buyer/models/common/get_buyer_impact_response_data.rb +265 -0
- data/lib/crossly_buyer/models/common/get_buyer_market_purchase_option_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_market_purchase_option_response_data.rb +253 -0
- data/lib/crossly_buyer/models/common/get_buyer_market_purchase_option_response_data_grading_runs.rb +279 -0
- data/lib/crossly_buyer/models/common/get_buyer_party_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_preference_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_preference_response_data.rb +278 -0
- data/lib/crossly_buyer/models/common/get_buyer_preference_response_data_brands.rb +237 -0
- data/lib/crossly_buyer/models/common/get_buyer_preference_response_data_price_band.rb +252 -0
- data/lib/crossly_buyer/models/common/get_buyer_preference_response_data_retailers.rb +237 -0
- data/lib/crossly_buyer/models/common/get_buyer_price_guide_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_price_guide_response_data.rb +285 -0
- data/lib/crossly_buyer/models/common/get_buyer_profile_response.rb +223 -0
- data/lib/crossly_buyer/models/common/get_buyer_profile_response_data.rb +273 -0
- data/lib/crossly_buyer/models/common/list_buyer_cashback_item.rb +340 -0
- data/lib/crossly_buyer/models/common/list_buyer_cashback_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_clubs_item.rb +297 -0
- data/lib/crossly_buyer/models/common/list_buyer_clubs_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_following_sellers_item.rb +306 -0
- data/lib/crossly_buyer/models/common/list_buyer_following_sellers_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_hotspots_item.rb +319 -0
- data/lib/crossly_buyer/models/common/list_buyer_hotspots_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_hunts_item.rb +293 -0
- data/lib/crossly_buyer/models/common/list_buyer_hunts_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_layaways_item.rb +429 -0
- data/lib/crossly_buyer/models/common/list_buyer_layaways_item_schedule.rb +251 -0
- data/lib/crossly_buyer/models/common/list_buyer_layaways_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_parties_item.rb +293 -0
- data/lib/crossly_buyer/models/common/list_buyer_parties_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_payment_methods_item.rb +293 -0
- data/lib/crossly_buyer/models/common/list_buyer_payment_methods_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_protection_plans_item.rb +349 -0
- data/lib/crossly_buyer/models/common/list_buyer_protection_plans_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_registries_item.rb +317 -0
- data/lib/crossly_buyer/models/common/list_buyer_registries_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_size_memory_prompts_item.rb +271 -0
- data/lib/crossly_buyer/models/common/list_buyer_size_memory_prompts_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_size_memory_sizes_item.rb +307 -0
- data/lib/crossly_buyer/models/common/list_buyer_size_memory_sizes_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_subscriptions_item.rb +299 -0
- data/lib/crossly_buyer/models/common/list_buyer_subscriptions_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_try_ons_item.rb +285 -0
- data/lib/crossly_buyer/models/common/list_buyer_try_ons_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_video_requests_item.rb +333 -0
- data/lib/crossly_buyer/models/common/list_buyer_video_requests_response.rb +248 -0
- data/lib/crossly_buyer/models/common/list_buyer_wallet_perks_item.rb +333 -0
- data/lib/crossly_buyer/models/common/list_buyer_wallet_perks_response.rb +248 -0
- data/lib/crossly_buyer/models/common/ns_value.rb +272 -0
- data/lib/crossly_buyer/models/common/pagination.rb +308 -0
- data/lib/crossly_buyer/models/common/update_buyer_payment_method_default_response.rb +223 -0
- data/lib/crossly_buyer/models/common/update_buyer_payment_method_default_response_data.rb +237 -0
- data/lib/crossly_buyer/models/common/value_count.rb +233 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response.rb +223 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response_data.rb +343 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response_data_reviews.rb +305 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response_data_summary.rb +249 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response_data_viewer.rb +257 -0
- data/lib/crossly_buyer/models/creation/get_buyer_creation_response_data_viewer_review.rb +305 -0
- data/lib/crossly_buyer/models/creation/list_buyer_creation_reviewable_item.rb +313 -0
- data/lib/crossly_buyer/models/creation/list_buyer_creation_reviewable_item_review.rb +247 -0
- data/lib/crossly_buyer/models/creation/list_buyer_creation_reviewable_response.rb +248 -0
- data/lib/crossly_buyer/models/creation/update_buyer_creation_review_request.rb +277 -0
- data/lib/crossly_buyer/models/creation/update_buyer_creation_review_response.rb +223 -0
- data/lib/crossly_buyer/models/event/create_buyer_event_rsvp_request.rb +252 -0
- data/lib/crossly_buyer/models/event/create_buyer_event_rsvp_response.rb +223 -0
- data/lib/crossly_buyer/models/event/create_buyer_event_rsvp_response_data.rb +257 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response.rb +223 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data.rb +533 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_drop_ref.rb +271 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_host.rb +253 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_host_store.rb +261 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_listings.rb +261 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_live_show.rb +265 -0
- data/lib/crossly_buyer/models/event/get_buyer_event_response_data_promo.rb +237 -0
- data/lib/crossly_buyer/models/event/list_buyer_events_item.rb +371 -0
- data/lib/crossly_buyer/models/event/list_buyer_events_response.rb +248 -0
- data/lib/crossly_buyer/models/feedback/create_buyer_feedback_item.rb +247 -0
- data/lib/crossly_buyer/models/feedback/create_buyer_feedback_request.rb +254 -0
- data/lib/crossly_buyer/models/feedback/create_buyer_feedback_request_reviews.rb +428 -0
- data/lib/crossly_buyer/models/feedback/create_buyer_feedback_response.rb +248 -0
- data/lib/crossly_buyer/models/feedback/list_buyer_feedback_item.rb +351 -0
- data/lib/crossly_buyer/models/feedback/list_buyer_feedback_pending_item.rb +287 -0
- data/lib/crossly_buyer/models/feedback/list_buyer_feedback_pending_response.rb +248 -0
- data/lib/crossly_buyer/models/feedback/list_buyer_feedback_response.rb +248 -0
- data/lib/crossly_buyer/models/feedback/update_buyer_feedback_request.rb +413 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_redeem_request.rb +251 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_redeem_response.rb +223 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_redeem_response_data.rb +309 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_request.rb +322 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_response.rb +223 -0
- data/lib/crossly_buyer/models/gift/create_buyer_gift_card_response_data.rb +321 -0
- data/lib/crossly_buyer/models/gift/get_buyer_gift_finder_option_response.rb +223 -0
- data/lib/crossly_buyer/models/gift/get_buyer_gift_finder_option_response_data.rb +241 -0
- data/lib/crossly_buyer/models/gift/get_buyer_gift_finder_option_response_data_budgets.rb +237 -0
- data/lib/crossly_buyer/models/gift/get_buyer_gift_finder_option_response_data_recipients.rb +253 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_card_credit_item.rb +311 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_card_credit_response.rb +248 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_cards_item.rb +366 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_cards_response.rb +248 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_finder_item.rb +267 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_finder_response.rb +248 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_sent_item.rb +333 -0
- data/lib/crossly_buyer/models/gift/list_buyer_gift_sent_response.rb +248 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_pet_response.rb +223 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_pet_response_data.rb +269 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_pet_response_data_pets.rb +351 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_placeable_response.rb +223 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_placeable_response_data.rb +241 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_placeable_response_data_items.rb +321 -0
- data/lib/crossly_buyer/models/home/get_buyer_home_placeable_response_data_items_ref.rb +271 -0
- data/lib/crossly_buyer/models/home/list_buyer_home_builders_item.rb +252 -0
- data/lib/crossly_buyer/models/home/list_buyer_home_builders_response.rb +248 -0
- data/lib/crossly_buyer/models/home/list_buyer_home_building_item.rb +237 -0
- data/lib/crossly_buyer/models/home/list_buyer_home_building_response.rb +248 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_builder_request.rb +225 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_layout_request.rb +225 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_pet_active_request.rb +253 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_pet_active_response.rb +223 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_pet_active_response_data.rb +253 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_request.rb +292 -0
- data/lib/crossly_buyer/models/home/update_buyer_home_request_decor.rb +239 -0
- data/lib/crossly_buyer/models/listing/create_buyer_listing_split_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/create_buyer_listing_split_response_data.rb +253 -0
- data/lib/crossly_buyer/models/listing/create_buyer_listing_split_response_data_shares.rb +251 -0
- data/lib/crossly_buyer/models/listing/create_buyer_listing_try_on_request.rb +241 -0
- data/lib/crossly_buyer/models/listing/create_buyer_listing_try_on_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_audio_summary_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_audio_summary_response_data.rb +247 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_bought_together_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_bought_together_response_data.rb +253 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_bought_together_response_data_items.rb +271 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_break_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_break_response_data.rb +327 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_cert_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_cert_response_data.rb +371 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response_data.rb +235 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response_data_chart.rb +253 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response_data_chart_rows.rb +251 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response_data_comparisons.rb +251 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_fit_response_data_comparisons_result.rb +237 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_group_buy_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_group_buy_response_data.rb +293 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_impact_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_impact_response_data.rb +271 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_landed_cost_response.rb +439 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_resale_value_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_resale_value_response_data.rb +299 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_subscribe_offer_response.rb +219 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_subscribe_offer_response_data.rb +267 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_try_on_response.rb +223 -0
- data/lib/crossly_buyer/models/listing/get_buyer_listing_try_on_response_data.rb +237 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_quick_questions_item.rb +237 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_quick_questions_response.rb +248 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_seller_reviews_item.rb +311 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_seller_reviews_item_item.rb +229 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_seller_reviews_item_media.rb +237 -0
- data/lib/crossly_buyer/models/listing/list_buyer_listing_seller_reviews_response.rb +248 -0
- data/lib/crossly_buyer/models/live/get_buyer_live_stream_auction_response.rb +219 -0
- data/lib/crossly_buyer/models/live/get_buyer_live_stream_auction_response_data.rb +247 -0
- data/lib/crossly_buyer/models/live/list_buyer_live_shipments_item.rb +335 -0
- data/lib/crossly_buyer/models/live/list_buyer_live_shipments_item_orders.rb +271 -0
- data/lib/crossly_buyer/models/live/list_buyer_live_shipments_response.rb +248 -0
- data/lib/crossly_buyer/models/live/list_buyer_live_stream_lineup_item.rb +323 -0
- data/lib/crossly_buyer/models/live/list_buyer_live_stream_lineup_response.rb +248 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_request.rb +237 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response.rb +461 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_alternates.rb +383 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_candidates.rb +282 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_coupon.rb +284 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_crossly.rb +299 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_hud.rb +343 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_hud_action.rb +282 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_hud_confirm.rb +283 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_hud_coupon.rb +254 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_hud_facts.rb +282 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_identifier.rb +271 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_confirm_response_offsite.rb +383 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_observe_request.rb +266 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_observe_request_attributes.rb +257 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_request.rb +223 -0
- data/lib/crossly_buyer/models/lockon/create_buyer_lockon_response.rb +237 -0
- data/lib/crossly_buyer/models/loyalty/create_buyer_loyalty_reward_redeem_response.rb +223 -0
- data/lib/crossly_buyer/models/loyalty/create_buyer_loyalty_reward_redeem_response_data.rb +317 -0
- data/lib/crossly_buyer/models/loyalty/get_buyer_loyalty_reward_response.rb +223 -0
- data/lib/crossly_buyer/models/loyalty/get_buyer_loyalty_reward_response_data.rb +297 -0
- data/lib/crossly_buyer/models/loyalty/get_buyer_loyalty_reward_response_data_items.rb +299 -0
- data/lib/crossly_buyer/models/loyalty/get_buyer_loyalty_reward_response_data_redeemed.rb +223 -0
- data/lib/crossly_buyer/models/loyalty/list_buyer_loyalty_item.rb +375 -0
- data/lib/crossly_buyer/models/loyalty/list_buyer_loyalty_points_item.rb +279 -0
- data/lib/crossly_buyer/models/loyalty/list_buyer_loyalty_points_response.rb +248 -0
- data/lib/crossly_buyer/models/loyalty/list_buyer_loyalty_response.rb +248 -0
- data/lib/crossly_buyer/models/monitor/create_buyer_monitor_request.rb +310 -0
- data/lib/crossly_buyer/models/monitor/create_buyer_monitor_request_query.rb +282 -0
- data/lib/crossly_buyer/models/monitor/list_buyer_monitor_matches_item.rb +261 -0
- data/lib/crossly_buyer/models/monitor/list_buyer_monitor_matches_response.rb +248 -0
- data/lib/crossly_buyer/models/monitor/list_buyer_monitors_item.rb +403 -0
- data/lib/crossly_buyer/models/monitor/list_buyer_monitors_response.rb +248 -0
- data/lib/crossly_buyer/models/monitor/update_buyer_monitor_request.rb +227 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_request.rb +280 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_respond_request.rb +283 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_respond_response.rb +223 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_respond_response_data.rb +246 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_response.rb +223 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_response_data.rb +237 -0
- data/lib/crossly_buyer/models/offer/create_buyer_offer_response_data_offer.rb +289 -0
- data/lib/crossly_buyer/models/offer/list_buyer_offers_item.rb +456 -0
- data/lib/crossly_buyer/models/offer/list_buyer_offers_item_items.rb +278 -0
- data/lib/crossly_buyer/models/offer/list_buyer_offers_response.rb +248 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_cancel_response.rb +223 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_cancel_response_data.rb +238 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_inr_request.rb +279 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_inr_response.rb +223 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_inr_response_data.rb +233 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_received_response.rb +223 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_received_response_data.rb +258 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_tip_response.rb +223 -0
- data/lib/crossly_buyer/models/order/create_buyer_order_tip_response_data.rb +223 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_eligibility_response.rb +223 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_eligibility_response_data.rb +375 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_eligibility_response_data_inr.rb +254 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_export_response.rb +223 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_export_response_data.rb +251 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_price_protection_response.rb +219 -0
- data/lib/crossly_buyer/models/order/get_buyer_order_price_protection_response_data.rb +251 -0
- data/lib/crossly_buyer/models/order/list_buyer_orders_item.rb +275 -0
- data/lib/crossly_buyer/models/order/list_buyer_orders_response.rb +248 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_fairness_rotate_request.rb +219 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_open_request.rb +232 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_open_response.rb +223 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_open_response_data.rb +237 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_opening_sell_back_response.rb +223 -0
- data/lib/crossly_buyer/models/pack/create_buyer_pack_opening_sell_back_response_data.rb +223 -0
- data/lib/crossly_buyer/models/pack/get_buyer_pack_fairness_response.rb +223 -0
- data/lib/crossly_buyer/models/pack/get_buyer_pack_fairness_response_data.rb +267 -0
- data/lib/crossly_buyer/models/pack/get_buyer_pack_fairness_response_data_revealed.rb +293 -0
- data/lib/crossly_buyer/models/pack/get_buyer_pack_response.rb +223 -0
- data/lib/crossly_buyer/models/pack/list_buyer_pack_openings_item.rb +363 -0
- data/lib/crossly_buyer/models/pack/list_buyer_pack_openings_item_proof.rb +305 -0
- data/lib/crossly_buyer/models/pack/list_buyer_pack_openings_item_proof_tier_weights.rb +237 -0
- data/lib/crossly_buyer/models/pack/list_buyer_pack_openings_response.rb +248 -0
- data/lib/crossly_buyer/models/pack/list_buyer_packs_item.rb +387 -0
- data/lib/crossly_buyer/models/pack/list_buyer_packs_item_chase.rb +257 -0
- data/lib/crossly_buyer/models/pack/list_buyer_packs_item_tiers.rb +313 -0
- data/lib/crossly_buyer/models/pack/list_buyer_packs_response.rb +248 -0
- data/lib/crossly_buyer/models/passport/create_buyer_passport_claim_request.rb +227 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response.rb +223 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data.rb +457 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_authenticated.rb +229 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_details.rb +249 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_grading.rb +247 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_history.rb +223 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_holder.rb +241 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_item.rb +265 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_timeline.rb +247 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_verdict.rb +273 -0
- data/lib/crossly_buyer/models/passport/get_buyer_passport_response_data_verdict_checks.rb +233 -0
- data/lib/crossly_buyer/models/purchase/create_buyer_purchase_fit_request.rb +257 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_delivery_response.rb +223 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_delivery_response_data.rb +253 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_live_moment_response.rb +219 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_live_moment_response_data.rb +303 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_return_response.rb +223 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_return_response_data.rb +253 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_return_response_data_reasons.rb +257 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_story_response.rb +219 -0
- data/lib/crossly_buyer/models/purchase/get_buyer_purchase_story_response_data.rb +233 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_gift_thanked_request.rb +223 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_gift_thanked_response.rb +223 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_gift_thanked_response_data.rb +237 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_request.rb +291 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_response.rb +223 -0
- data/lib/crossly_buyer/models/registry/create_buyer_registry_response_data.rb +337 -0
- data/lib/crossly_buyer/models/registry/list_buyer_registry_gifts_item.rb +303 -0
- data/lib/crossly_buyer/models/registry/list_buyer_registry_gifts_response.rb +248 -0
- data/lib/crossly_buyer/models/registry/list_buyer_registry_search_item.rb +275 -0
- data/lib/crossly_buyer/models/registry/list_buyer_registry_search_response.rb +248 -0
- data/lib/crossly_buyer/models/registry/update_buyer_registry_item_request.rb +223 -0
- data/lib/crossly_buyer/models/registry/update_buyer_registry_item_response.rb +223 -0
- data/lib/crossly_buyer/models/registry/update_buyer_registry_item_response_data.rb +237 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_arrival_photo_request.rb +225 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_buyout_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_buyout_response_data.rb +275 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_claim_response_request.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_extension_pay_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_extension_pay_response_data.rb +233 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_extension_request.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_extension_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_extension_response_data.rb +284 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_identity_start_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_identity_start_response_data.rb +247 -0
- data/lib/crossly_buyer/models/rental/create_buyer_rental_return_shipped_request.rb +220 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_eligibility_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_eligibility_response_data.rb +257 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response.rb +223 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data.rb +1123 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_buyout.rb +265 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_events.rb +281 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_extension.rb +265 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_extensions.rb +303 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_payments.rb +375 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_shipping.rb +289 -0
- data/lib/crossly_buyer/models/rental/get_buyer_rental_response_data_timeline.rb +309 -0
- data/lib/crossly_buyer/models/rental/list_buyer_rentals_item.rb +795 -0
- data/lib/crossly_buyer/models/rental/list_buyer_rentals_response.rb +248 -0
- data/lib/crossly_buyer/models/scan/create_buyer_scan_request.rb +267 -0
- data/lib/crossly_buyer/models/scan/create_buyer_scan_response.rb +421 -0
- data/lib/crossly_buyer/models/scan/create_buyer_scan_session_end_response.rb +285 -0
- data/lib/crossly_buyer/models/scan/create_buyer_scan_session_request.rb +261 -0
- data/lib/crossly_buyer/models/scan/create_buyer_scan_session_response.rb +275 -0
- data/lib/crossly_buyer/models/scan/get_buyer_scan_session_response.rb +330 -0
- data/lib/crossly_buyer/models/scan/get_buyer_scan_session_response_captures.rb +295 -0
- data/lib/crossly_buyer/models/scan/get_buyer_scan_session_response_captures_identifier.rb +237 -0
- data/lib/crossly_buyer/models/scan/list_buyer_scan_sessions_item.rb +299 -0
- data/lib/crossly_buyer/models/scan/list_buyer_scan_sessions_response.rb +248 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_club_join_response.rb +223 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_club_join_response_data.rb +273 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_club_join_response_data_member.rb +271 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_club_join_response_data_member_next.rb +237 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_club_join_response_data_tiers.rb +261 -0
- data/lib/crossly_buyer/models/seller/create_buyer_seller_report_request.rb +293 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_club_response.rb +219 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_club_response_data.rb +273 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response.rb +219 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data.rb +375 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member.rb +323 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_history.rb +253 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_next.rb +265 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_next_tier.rb +305 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_perks.rb +319 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_standing.rb +261 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_loyalty_response_data_member_tier.rb +305 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_trust_response.rb +223 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_trust_response_data.rb +319 -0
- data/lib/crossly_buyer/models/seller/get_buyer_seller_trust_response_data_rating.rb +237 -0
- data/lib/crossly_buyer/models/store/create_buyer_store_report_response.rb +223 -0
- data/lib/crossly_buyer/models/store/create_buyer_store_report_response_data.rb +248 -0
- data/lib/crossly_buyer/models/store/list_buyer_store_credit_item.rb +303 -0
- data/lib/crossly_buyer/models/store/list_buyer_store_credit_response.rb +248 -0
- data/lib/crossly_buyer/models/store/list_buyer_store_listings_item.rb +335 -0
- data/lib/crossly_buyer/models/store/list_buyer_store_listings_response.rb +248 -0
- data/lib/crossly_buyer/models/together/create_buyer_together_response.rb +223 -0
- data/lib/crossly_buyer/models/together/create_buyer_together_response_data.rb +237 -0
- data/lib/crossly_buyer/models/together/get_buyer_together_response.rb +219 -0
- data/lib/crossly_buyer/models/together/get_buyer_together_response_data.rb +327 -0
- data/lib/crossly_buyer/models/together/get_buyer_together_response_data_items.rb +341 -0
- data/lib/crossly_buyer/models/together/get_buyer_together_response_data_members.rb +237 -0
- data/lib/crossly_buyer/models/together/get_buyer_together_response_data_messages.rb +279 -0
- data/lib/crossly_buyer/models/together/list_buyer_together_item.rb +251 -0
- data/lib/crossly_buyer/models/together/list_buyer_together_response.rb +248 -0
- data/lib/crossly_buyer/models/total/create_buyer_total_request_request.rb +249 -0
- data/lib/crossly_buyer/models/total/create_buyer_total_request_response.rb +223 -0
- data/lib/crossly_buyer/models/total/create_buyer_total_request_response_data.rb +237 -0
- data/lib/crossly_buyer/models/total/list_buyer_total_requests_item.rb +339 -0
- data/lib/crossly_buyer/models/total/list_buyer_total_requests_item_lines.rb +237 -0
- data/lib/crossly_buyer/models/total/list_buyer_total_requests_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_list_request.rb +232 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_list_response.rb +223 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_list_response_data.rb +237 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_withdraw_request.rb +252 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_withdraw_response.rb +223 -0
- data/lib/crossly_buyer/models/vault/create_buyer_vault_withdraw_response_data.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_history_response.rb +253 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_history_response_now.rb +321 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_history_response_now_marks.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_history_response_series.rb +293 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_history_response_today.rb +249 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_index_response.rb +533 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_index_response_history.rb +265 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_index_response_last_close.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_index_response_now.rb +233 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_instant_exit_response.rb +367 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_instant_exit_response_levels.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response.rb +367 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_expiries.rb +299 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_expiries_expected_move.rb +259 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_expiries_open_interest.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_historical_vol.rb +255 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_historical_vol_series.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_historical_vol_windows.rb +233 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_iv.rb +299 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_iv_history.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_put_call.rb +243 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_put_call_totals.rb +265 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_smile.rb +271 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_smile_by_strike.rb +317 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_smile_fitted.rb +233 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_smile_points.rb +248 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_surface.rb +241 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_surface_rows.rb +263 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_analytic_response_underlying.rb +331 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response.rb +325 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_expiries.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_rows.rb +243 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_rows_call.rb +591 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_series.rb +267 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_underlying.rb +359 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_chain_response_venue.rb +313 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_iv_response.rb +307 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_position_response.rb +239 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_position_response_account.rb +281 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_position_response_positions.rb +429 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_position_response_positions_contract.rb +495 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_position_response_positions_greeks.rb +265 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response.rb +305 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_beta_weighted.rb +257 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_beta_weighted_index.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_by_underlying.rb +372 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_scenario.rb +305 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_scenario_grid.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_scenario_ranges.rb +311 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_option_risk_response_total.rb +296 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_board_response.rb +253 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_board_response_rows.rb +331 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_event_response.rb +421 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_event_response_conversions.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_event_response_markets.rb +385 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_event_response_risk.rb +314 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_leaderboard_response.rb +353 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_leaderboard_response_rows.rb +313 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_history_response.rb +385 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_history_response_candles.rb +293 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_history_response_now.rb +353 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_history_response_points.rb +281 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response.rb +361 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_book.rb +297 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_book_bids.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_practice_book.rb +297 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_rules.rb +265 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_settlements.rb +445 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_trades.rb +279 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_venue.rb +351 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_prediction_market_response_venue_missing.rb +257 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_basket_response.rb +471 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_basket_response_members.rb +315 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_basket_response_mine.rb +239 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_basket_response_mine_members.rb +265 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response.rb +331 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_auto_invest.rb +481 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_distributions.rb +307 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_holdings.rb +313 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_holdings_series.rb +929 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_subscriptions.rb +395 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_totals.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_response_venue.rb +335 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_history_response.rb +437 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_history_response_appraisals.rb +305 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_history_response_candles.rb +321 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_perk_response.rb +323 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_perk_response_badge.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_perk_response_viewing_days.rb +375 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_perk_response_viewing_days_my_booking.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_perk_response_visit.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response.rb +379 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_buyouts.rb +453 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_buyouts_my_vote.rb +233 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_depth.rb +269 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_depth_bids.rb +251 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_drop.rb +477 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_holders.rb +239 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_holders_distribution.rb +279 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_market.rb +267 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_market_indicative.rb +337 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_market_trading.rb +331 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_my.rb +241 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_my_orders.rb +485 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_my_subscriptions.rb +279 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_perks.rb +323 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_perks_viewing_days.rb +377 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_tape.rb +341 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_share_sery_response_updates.rb +317 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_worth_response.rb +391 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_worth_response_sell_now.rb +299 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_worth_response_sell_now_blocked.rb +237 -0
- data/lib/crossly_buyer/models/vault/get_buyer_vault_market_worth_response_today.rb +249 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_item.rb +396 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_holdings_item.rb +533 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_holdings_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_indexes_item.rb +503 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_indexes_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_instant_exit_item.rb +383 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_instant_exit_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_combos_item.rb +529 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_combos_item_legs.rb +285 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_combos_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_notices_item.rb +383 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_notices_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_series_item.rb +363 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_series_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_strategies_item.rb +355 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_option_strategies_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_comments_item.rb +383 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_comments_item_replies.rb +367 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_comments_item_replies_author.rb +239 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_comments_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_markets_item.rb +613 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_markets_item_probability.rb +309 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_markets_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_positions_item.rb +499 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_prediction_positions_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_auto_invest_item.rb +481 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_auto_invest_item_targets.rb +237 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_auto_invest_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_baskets_item.rb +431 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_baskets_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_drops_item.rb +237 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_drops_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_gifts_item.rb +401 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_gifts_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_series_item.rb +925 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_series_item_mine.rb +251 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_series_item_rights.rb +251 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_share_series_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_watchlist_item.rb +375 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_watchlist_item_sparkline.rb +237 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_market_watchlist_response.rb +248 -0
- data/lib/crossly_buyer/models/vault/list_buyer_vault_response.rb +248 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_catalog_apply_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_catalog_apply_response_data.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_freight_request_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_freight_request_response_data.rb +361 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_freight_request_response_data_lines.rb +247 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_invoice_pay_link_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_invoice_pay_link_response_data.rb +265 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_quote_accept_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_quote_accept_response_data.rb +239 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_upload_validate_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_upload_validate_response_data.rb +255 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_upload_validate_response_data_lines.rb +423 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_upload_validate_response_data_lines_flags_item.rb +40 -0
- data/lib/crossly_buyer/models/wholesale/create_buyer_wholesale_upload_validate_response_data_unmatched.rb +237 -0
- data/lib/crossly_buyer/models/wholesale/delete_buyer_wholesale_order_sheet_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/delete_buyer_wholesale_order_sheet_response_data.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data.rb +256 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_groups.rb +365 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_groups_checkout.rb +267 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_groups_checkout_methods_item.rb +40 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_groups_minimum.rb +330 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_tax_exempt.rb +233 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_cart_response_data_violations.rb +312 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response_data.rb +271 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response_data_catalog.rb +237 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response_data_prefill.rb +273 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response_data_requirements.rb +265 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_catalog_apply_response_data_requirements_questions.rb +311 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_drop_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_drop_response_data.rb +269 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_drop_response_data_listings.rb +303 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_drop_response_data_reservations.rb +425 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_invoice_pay_quote_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_invoice_pay_quote_response_data.rb +305 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_invoice_pay_quote_response_data_methods_item.rb +37 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_reorder_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/get_buyer_wholesale_reorder_response_data.rb +277 -0
- data/lib/crossly_buyer/models/wholesale/list_buyer_wholesale_drops_item.rb +411 -0
- data/lib/crossly_buyer/models/wholesale/list_buyer_wholesale_drops_response.rb +248 -0
- data/lib/crossly_buyer/models/wholesale/list_buyer_wholesale_prebooks_item.rb +473 -0
- data/lib/crossly_buyer/models/wholesale/list_buyer_wholesale_prebooks_response.rb +248 -0
- data/lib/crossly_buyer/models/wholesale/update_buyer_wholesale_cart_po_response.rb +223 -0
- data/lib/crossly_buyer/models/wholesale/update_buyer_wholesale_cart_po_response_data.rb +219 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_invite_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_invite_response_data.rb +251 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_item_request.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_join_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_join_response_data.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_request.rb +251 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_response_data.rb +237 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_share_request.rb +219 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_share_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/create_buyer_wishlist_share_response_data.rb +261 -0
- data/lib/crossly_buyer/models/wishlist/delete_buyer_wishlist_item_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/delete_buyer_wishlist_item_response_data.rb +237 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlist_items_item.rb +271 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlist_items_response.rb +248 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlist_members_item.rb +251 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlist_members_response.rb +248 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlists_item.rb +251 -0
- data/lib/crossly_buyer/models/wishlist/list_buyer_wishlists_response.rb +248 -0
- data/lib/crossly_buyer/models/wishlist/update_buyer_wishlist_request.rb +253 -0
- data/lib/crossly_buyer/models/wishlist/update_buyer_wishlist_response.rb +223 -0
- data/lib/crossly_buyer/models/wishlist/update_buyer_wishlist_response_data.rb +285 -0
- data/lib/crossly_buyer/version.rb +15 -0
- data/lib/crossly_buyer.rb +887 -0
- data/lib/crossly_kit.rb +369 -0
- data/lib/crossly_webhooks.rb +142 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- metadata +959 -0
|
@@ -0,0 +1,1496 @@
|
|
|
1
|
+
# CrosslyBuyer::BuyerCatalogApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://crossly.net/api*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**create_buyer_identify**](BuyerCatalogApi.md#create_buyer_identify) | **POST** /v1/buyer/identify | Identify a held object and return a HUD-ready answer. |
|
|
8
|
+
| [**create_buyer_lockon**](BuyerCatalogApi.md#create_buyer_lockon) | **POST** /v1/buyer/lockons | Lock on to an object the buyer is holding. |
|
|
9
|
+
| [**create_buyer_lockon_confirm**](BuyerCatalogApi.md#create_buyer_lockon_confirm) | **POST** /v1/buyer/lockons/{id}/confirm | The buyer picked one of the candidates. |
|
|
10
|
+
| [**create_buyer_lockon_observe**](BuyerCatalogApi.md#create_buyer_lockon_observe) | **POST** /v1/buyer/lockons/{id}/observe | Add what this frame revealed, and get the current best answer. |
|
|
11
|
+
| [**create_buyer_scan**](BuyerCatalogApi.md#create_buyer_scan) | **POST** /v1/buyer/scan | Identify a physical item and find the cheapest place to buy it. |
|
|
12
|
+
| [**create_buyer_scan_session**](BuyerCatalogApi.md#create_buyer_scan_session) | **POST** /v1/buyer/scan/sessions | Open a Live Shop session. |
|
|
13
|
+
| [**create_buyer_scan_session_end**](BuyerCatalogApi.md#create_buyer_scan_session_end) | **POST** /v1/buyer/scan/sessions/{id}/end | Close a Live Shop session. |
|
|
14
|
+
| [**get_buyer_anywhere**](BuyerCatalogApi.md#get_buyer_anywhere) | **GET** /v1/buyer/anywhere | Cheapest source for an item — Crossly first, then other retailers. |
|
|
15
|
+
| [**get_buyer_catalog_facet**](BuyerCatalogApi.md#get_buyer_catalog_facet) | **GET** /v1/buyer/catalog/facets | Brands, categories and conditions that currently have stock. |
|
|
16
|
+
| [**get_buyer_catalog_fx**](BuyerCatalogApi.md#get_buyer_catalog_fx) | **GET** /v1/buyer/catalog/fx | Display-only exchange rates (units per 1 USD). |
|
|
17
|
+
| [**get_buyer_catalog_listing**](BuyerCatalogApi.md#get_buyer_catalog_listing) | **GET** /v1/buyer/catalog/listings/{slug} | One listing, in full. |
|
|
18
|
+
| [**get_buyer_catalog_listing_availability**](BuyerCatalogApi.md#get_buyer_catalog_listing_availability) | **GET** /v1/buyer/catalog/listings/{slug}/availability | Is it still buyable, and at what price. |
|
|
19
|
+
| [**get_buyer_catalog_listing_shipping**](BuyerCatalogApi.md#get_buyer_catalog_listing_shipping) | **GET** /v1/buyer/catalog/listings/{slug}/shipping | Shipping services and prices to a destination. |
|
|
20
|
+
| [**get_buyer_listing_landed_cost**](BuyerCatalogApi.md#get_buyer_listing_landed_cost) | **GET** /v1/buyer/listings/{slug}/landed-cost | Import duties, taxes and fees to a country (landed cost). |
|
|
21
|
+
| [**get_buyer_scan_session**](BuyerCatalogApi.md#get_buyer_scan_session) | **GET** /v1/buyer/scan/sessions/{id} | One trip and everything it found. |
|
|
22
|
+
| [**list_buyer_catalog_browse**](BuyerCatalogApi.md#list_buyer_catalog_browse) | **GET** /v1/buyer/catalog/browse | Browse the way the shop does — buying format, returns, size, color, sold items, Best Match. |
|
|
23
|
+
| [**list_buyer_catalog_listing_sold_history**](BuyerCatalogApi.md#list_buyer_catalog_listing_sold_history) | **GET** /v1/buyer/catalog/listings/{slug}/sold-history | What THIS listing has sold for, newest first (last 50), with the median. |
|
|
24
|
+
| [**list_buyer_catalog_search**](BuyerCatalogApi.md#list_buyer_catalog_search) | **GET** /v1/buyer/catalog/search | Search the Crossly catalogue. |
|
|
25
|
+
| [**list_buyer_catalog_sellers**](BuyerCatalogApi.md#list_buyer_catalog_sellers) | **GET** /v1/buyer/catalog/sellers | Find a seller by shop handle or shop name. |
|
|
26
|
+
| [**list_buyer_scan_sessions**](BuyerCatalogApi.md#list_buyer_scan_sessions) | **GET** /v1/buyer/scan/sessions | Your scanning trips, newest first. |
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## create_buyer_identify
|
|
30
|
+
|
|
31
|
+
> <CreateBuyerIdentifyResponse> create_buyer_identify(create_buyer_identify_request)
|
|
32
|
+
|
|
33
|
+
Identify a held object and return a HUD-ready answer.
|
|
34
|
+
|
|
35
|
+
The gesture endpoint for Live Shop. Runs a cost ladder: a decoded BARCODE resolves in ~50ms for nothing; failing that, self-hosted CLIP matches the catalogue; failing that, a vision model names it (the only rung that costs anything, capped per buyer per day). `hud` is pre-formatted for a 600×600 lens — one headline, one subline, up to three fact chips and exactly ONE action, because a pinch cannot choose between buttons. A vision label is WORDS, never an identity: it names the thing so the buyer can search, and never drives a price comparison.
|
|
36
|
+
|
|
37
|
+
### Examples
|
|
38
|
+
|
|
39
|
+
```ruby
|
|
40
|
+
require 'time'
|
|
41
|
+
require 'crossly_buyer'
|
|
42
|
+
# setup authorization
|
|
43
|
+
CrosslyBuyer.configure do |config|
|
|
44
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
45
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
49
|
+
create_buyer_identify_request = CrosslyBuyer::CreateBuyerIdentifyRequest.new # CreateBuyerIdentifyRequest |
|
|
50
|
+
|
|
51
|
+
begin
|
|
52
|
+
# Identify a held object and return a HUD-ready answer.
|
|
53
|
+
result = api_instance.create_buyer_identify(create_buyer_identify_request)
|
|
54
|
+
p result
|
|
55
|
+
rescue CrosslyBuyer::ApiError => e
|
|
56
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_identify: #{e}"
|
|
57
|
+
end
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
#### Using the create_buyer_identify_with_http_info variant
|
|
61
|
+
|
|
62
|
+
This returns an Array which contains the response data, status code and headers.
|
|
63
|
+
|
|
64
|
+
> <Array(<CreateBuyerIdentifyResponse>, Integer, Hash)> create_buyer_identify_with_http_info(create_buyer_identify_request)
|
|
65
|
+
|
|
66
|
+
```ruby
|
|
67
|
+
begin
|
|
68
|
+
# Identify a held object and return a HUD-ready answer.
|
|
69
|
+
data, status_code, headers = api_instance.create_buyer_identify_with_http_info(create_buyer_identify_request)
|
|
70
|
+
p status_code # => 2xx
|
|
71
|
+
p headers # => { ... }
|
|
72
|
+
p data # => <CreateBuyerIdentifyResponse>
|
|
73
|
+
rescue CrosslyBuyer::ApiError => e
|
|
74
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_identify_with_http_info: #{e}"
|
|
75
|
+
end
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Parameters
|
|
79
|
+
|
|
80
|
+
| Name | Type | Description | Notes |
|
|
81
|
+
| ---- | ---- | ----------- | ----- |
|
|
82
|
+
| **create_buyer_identify_request** | **CreateBuyerIdentifyRequest** | | |
|
|
83
|
+
|
|
84
|
+
### Return type
|
|
85
|
+
|
|
86
|
+
**CreateBuyerIdentifyResponse**
|
|
87
|
+
|
|
88
|
+
### Authorization
|
|
89
|
+
|
|
90
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
91
|
+
|
|
92
|
+
### HTTP request headers
|
|
93
|
+
|
|
94
|
+
- **Content-Type**: application/json
|
|
95
|
+
- **Accept**: application/json
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
## create_buyer_lockon
|
|
99
|
+
|
|
100
|
+
> <CreateBuyerLockonResponse> create_buyer_lockon(create_buyer_lockon_request)
|
|
101
|
+
|
|
102
|
+
Lock on to an object the buyer is holding.
|
|
103
|
+
|
|
104
|
+
Open this when on-device tracking acquires an object, then post observations to it as the buyer turns the thing over. The answer improves as evidence arrives — the style code inside a shoe settles what the front of it could not.
|
|
105
|
+
|
|
106
|
+
### Examples
|
|
107
|
+
|
|
108
|
+
```ruby
|
|
109
|
+
require 'time'
|
|
110
|
+
require 'crossly_buyer'
|
|
111
|
+
# setup authorization
|
|
112
|
+
CrosslyBuyer.configure do |config|
|
|
113
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
114
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
118
|
+
create_buyer_lockon_request = CrosslyBuyer::CreateBuyerLockonRequest.new({session_id: 'session_id_example'}) # CreateBuyerLockonRequest |
|
|
119
|
+
|
|
120
|
+
begin
|
|
121
|
+
# Lock on to an object the buyer is holding.
|
|
122
|
+
result = api_instance.create_buyer_lockon(create_buyer_lockon_request)
|
|
123
|
+
p result
|
|
124
|
+
rescue CrosslyBuyer::ApiError => e
|
|
125
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_lockon: #{e}"
|
|
126
|
+
end
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
#### Using the create_buyer_lockon_with_http_info variant
|
|
130
|
+
|
|
131
|
+
This returns an Array which contains the response data, status code and headers.
|
|
132
|
+
|
|
133
|
+
> <Array(<CreateBuyerLockonResponse>, Integer, Hash)> create_buyer_lockon_with_http_info(create_buyer_lockon_request)
|
|
134
|
+
|
|
135
|
+
```ruby
|
|
136
|
+
begin
|
|
137
|
+
# Lock on to an object the buyer is holding.
|
|
138
|
+
data, status_code, headers = api_instance.create_buyer_lockon_with_http_info(create_buyer_lockon_request)
|
|
139
|
+
p status_code # => 2xx
|
|
140
|
+
p headers # => { ... }
|
|
141
|
+
p data # => <CreateBuyerLockonResponse>
|
|
142
|
+
rescue CrosslyBuyer::ApiError => e
|
|
143
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_lockon_with_http_info: #{e}"
|
|
144
|
+
end
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Parameters
|
|
148
|
+
|
|
149
|
+
| Name | Type | Description | Notes |
|
|
150
|
+
| ---- | ---- | ----------- | ----- |
|
|
151
|
+
| **create_buyer_lockon_request** | **CreateBuyerLockonRequest** | | |
|
|
152
|
+
|
|
153
|
+
### Return type
|
|
154
|
+
|
|
155
|
+
**CreateBuyerLockonResponse**
|
|
156
|
+
|
|
157
|
+
### Authorization
|
|
158
|
+
|
|
159
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
160
|
+
|
|
161
|
+
### HTTP request headers
|
|
162
|
+
|
|
163
|
+
- **Content-Type**: application/json
|
|
164
|
+
- **Accept**: application/json
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
## create_buyer_lockon_confirm
|
|
168
|
+
|
|
169
|
+
> <CreateBuyerLockonConfirmResponse> create_buyer_lockon_confirm(id, create_buyer_lockon_confirm_request)
|
|
170
|
+
|
|
171
|
+
The buyer picked one of the candidates.
|
|
172
|
+
|
|
173
|
+
Promotes a text match to a CONFIRMED identity — the strongest evidence in the system, because a person holding the object said yes. Validated against the candidates we actually offered, so it cannot be claimed about an arbitrary product.
|
|
174
|
+
|
|
175
|
+
### Examples
|
|
176
|
+
|
|
177
|
+
```ruby
|
|
178
|
+
require 'time'
|
|
179
|
+
require 'crossly_buyer'
|
|
180
|
+
# setup authorization
|
|
181
|
+
CrosslyBuyer.configure do |config|
|
|
182
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
183
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
187
|
+
id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
188
|
+
create_buyer_lockon_confirm_request = CrosslyBuyer::CreateBuyerLockonConfirmRequest.new({ns: 'ns_example', value: 'value_example'}) # CreateBuyerLockonConfirmRequest |
|
|
189
|
+
|
|
190
|
+
begin
|
|
191
|
+
# The buyer picked one of the candidates.
|
|
192
|
+
result = api_instance.create_buyer_lockon_confirm(id, create_buyer_lockon_confirm_request)
|
|
193
|
+
p result
|
|
194
|
+
rescue CrosslyBuyer::ApiError => e
|
|
195
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_lockon_confirm: #{e}"
|
|
196
|
+
end
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
#### Using the create_buyer_lockon_confirm_with_http_info variant
|
|
200
|
+
|
|
201
|
+
This returns an Array which contains the response data, status code and headers.
|
|
202
|
+
|
|
203
|
+
> <Array(<CreateBuyerLockonConfirmResponse>, Integer, Hash)> create_buyer_lockon_confirm_with_http_info(id, create_buyer_lockon_confirm_request)
|
|
204
|
+
|
|
205
|
+
```ruby
|
|
206
|
+
begin
|
|
207
|
+
# The buyer picked one of the candidates.
|
|
208
|
+
data, status_code, headers = api_instance.create_buyer_lockon_confirm_with_http_info(id, create_buyer_lockon_confirm_request)
|
|
209
|
+
p status_code # => 2xx
|
|
210
|
+
p headers # => { ... }
|
|
211
|
+
p data # => <CreateBuyerLockonConfirmResponse>
|
|
212
|
+
rescue CrosslyBuyer::ApiError => e
|
|
213
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_lockon_confirm_with_http_info: #{e}"
|
|
214
|
+
end
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Parameters
|
|
218
|
+
|
|
219
|
+
| Name | Type | Description | Notes |
|
|
220
|
+
| ---- | ---- | ----------- | ----- |
|
|
221
|
+
| **id** | **String** | | |
|
|
222
|
+
| **create_buyer_lockon_confirm_request** | **CreateBuyerLockonConfirmRequest** | | |
|
|
223
|
+
|
|
224
|
+
### Return type
|
|
225
|
+
|
|
226
|
+
**CreateBuyerLockonConfirmResponse**
|
|
227
|
+
|
|
228
|
+
### Authorization
|
|
229
|
+
|
|
230
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
231
|
+
|
|
232
|
+
### HTTP request headers
|
|
233
|
+
|
|
234
|
+
- **Content-Type**: application/json
|
|
235
|
+
- **Accept**: application/json
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
## create_buyer_lockon_observe
|
|
239
|
+
|
|
240
|
+
> <CreateBuyerLockonConfirmResponse> create_buyer_lockon_observe(id, opts)
|
|
241
|
+
|
|
242
|
+
Add what this frame revealed, and get the current best answer.
|
|
243
|
+
|
|
244
|
+
Send only what you LEARNED: a decoded barcode, newly-read OCR text, or a frame when neither settled it. Do not post every frame — tracking and decoding happen on-device for free, and this endpoint is for evidence, not video. Evidence is RANKED (confirmed > barcode > ocr > visual), so a late weak reading can never overwrite a strong early one. When text evidence finds several products, `candidates` comes back for the buyer to pick from — a vision label is words, and only a human confirmation turns it into an identity we will price against.
|
|
245
|
+
|
|
246
|
+
### Examples
|
|
247
|
+
|
|
248
|
+
```ruby
|
|
249
|
+
require 'time'
|
|
250
|
+
require 'crossly_buyer'
|
|
251
|
+
# setup authorization
|
|
252
|
+
CrosslyBuyer.configure do |config|
|
|
253
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
254
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
258
|
+
id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
259
|
+
opts = {
|
|
260
|
+
create_buyer_lockon_observe_request: CrosslyBuyer::CreateBuyerLockonObserveRequest.new # CreateBuyerLockonObserveRequest |
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
begin
|
|
264
|
+
# Add what this frame revealed, and get the current best answer.
|
|
265
|
+
result = api_instance.create_buyer_lockon_observe(id, opts)
|
|
266
|
+
p result
|
|
267
|
+
rescue CrosslyBuyer::ApiError => e
|
|
268
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_lockon_observe: #{e}"
|
|
269
|
+
end
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
#### Using the create_buyer_lockon_observe_with_http_info variant
|
|
273
|
+
|
|
274
|
+
This returns an Array which contains the response data, status code and headers.
|
|
275
|
+
|
|
276
|
+
> <Array(<CreateBuyerLockonConfirmResponse>, Integer, Hash)> create_buyer_lockon_observe_with_http_info(id, opts)
|
|
277
|
+
|
|
278
|
+
```ruby
|
|
279
|
+
begin
|
|
280
|
+
# Add what this frame revealed, and get the current best answer.
|
|
281
|
+
data, status_code, headers = api_instance.create_buyer_lockon_observe_with_http_info(id, opts)
|
|
282
|
+
p status_code # => 2xx
|
|
283
|
+
p headers # => { ... }
|
|
284
|
+
p data # => <CreateBuyerLockonConfirmResponse>
|
|
285
|
+
rescue CrosslyBuyer::ApiError => e
|
|
286
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_lockon_observe_with_http_info: #{e}"
|
|
287
|
+
end
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
### Parameters
|
|
291
|
+
|
|
292
|
+
| Name | Type | Description | Notes |
|
|
293
|
+
| ---- | ---- | ----------- | ----- |
|
|
294
|
+
| **id** | **String** | | |
|
|
295
|
+
| **create_buyer_lockon_observe_request** | **CreateBuyerLockonObserveRequest** | | [optional] |
|
|
296
|
+
|
|
297
|
+
### Return type
|
|
298
|
+
|
|
299
|
+
**CreateBuyerLockonConfirmResponse**
|
|
300
|
+
|
|
301
|
+
### Authorization
|
|
302
|
+
|
|
303
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
304
|
+
|
|
305
|
+
### HTTP request headers
|
|
306
|
+
|
|
307
|
+
- **Content-Type**: application/json
|
|
308
|
+
- **Accept**: application/json
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
## create_buyer_scan
|
|
312
|
+
|
|
313
|
+
> <CreateBuyerScanResponse> create_buyer_scan(create_buyer_scan_request)
|
|
314
|
+
|
|
315
|
+
Identify a physical item and find the cheapest place to buy it.
|
|
316
|
+
|
|
317
|
+
Send a barcode identifier OR a photo. A BARCODE establishes identity, so the response carries a full price verdict across Crossly and other retailers. A PHOTO establishes resemblance only: you get visual matches from the Crossly catalogue, and a price verdict ONLY if the matched listing carries a real identifier. When it does not, `comparable` is false and there is no verdict — a price comparison built on a visual guess is a claim about a different product. Most second-hand items have no identifier by nature, so this is expected rather than a failure.
|
|
318
|
+
|
|
319
|
+
### Examples
|
|
320
|
+
|
|
321
|
+
```ruby
|
|
322
|
+
require 'time'
|
|
323
|
+
require 'crossly_buyer'
|
|
324
|
+
# setup authorization
|
|
325
|
+
CrosslyBuyer.configure do |config|
|
|
326
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
327
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
331
|
+
create_buyer_scan_request = CrosslyBuyer::CreateBuyerScanRequest.new # CreateBuyerScanRequest |
|
|
332
|
+
|
|
333
|
+
begin
|
|
334
|
+
# Identify a physical item and find the cheapest place to buy it.
|
|
335
|
+
result = api_instance.create_buyer_scan(create_buyer_scan_request)
|
|
336
|
+
p result
|
|
337
|
+
rescue CrosslyBuyer::ApiError => e
|
|
338
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_scan: #{e}"
|
|
339
|
+
end
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
#### Using the create_buyer_scan_with_http_info variant
|
|
343
|
+
|
|
344
|
+
This returns an Array which contains the response data, status code and headers.
|
|
345
|
+
|
|
346
|
+
> <Array(<CreateBuyerScanResponse>, Integer, Hash)> create_buyer_scan_with_http_info(create_buyer_scan_request)
|
|
347
|
+
|
|
348
|
+
```ruby
|
|
349
|
+
begin
|
|
350
|
+
# Identify a physical item and find the cheapest place to buy it.
|
|
351
|
+
data, status_code, headers = api_instance.create_buyer_scan_with_http_info(create_buyer_scan_request)
|
|
352
|
+
p status_code # => 2xx
|
|
353
|
+
p headers # => { ... }
|
|
354
|
+
p data # => <CreateBuyerScanResponse>
|
|
355
|
+
rescue CrosslyBuyer::ApiError => e
|
|
356
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_scan_with_http_info: #{e}"
|
|
357
|
+
end
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
### Parameters
|
|
361
|
+
|
|
362
|
+
| Name | Type | Description | Notes |
|
|
363
|
+
| ---- | ---- | ----------- | ----- |
|
|
364
|
+
| **create_buyer_scan_request** | **CreateBuyerScanRequest** | | |
|
|
365
|
+
|
|
366
|
+
### Return type
|
|
367
|
+
|
|
368
|
+
**CreateBuyerScanResponse**
|
|
369
|
+
|
|
370
|
+
### Authorization
|
|
371
|
+
|
|
372
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
373
|
+
|
|
374
|
+
### HTTP request headers
|
|
375
|
+
|
|
376
|
+
- **Content-Type**: application/json
|
|
377
|
+
- **Accept**: application/json
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
## create_buyer_scan_session
|
|
381
|
+
|
|
382
|
+
> <CreateBuyerScanSessionResponse> create_buyer_scan_session(opts)
|
|
383
|
+
|
|
384
|
+
Open a Live Shop session.
|
|
385
|
+
|
|
386
|
+
Call this when the glasses connect, then pass the returned id as `sessionId` on each scan. Opening a session CLOSES any other live one — a person is in one shop at a time, and two live sessions split a trip across both.
|
|
387
|
+
|
|
388
|
+
### Examples
|
|
389
|
+
|
|
390
|
+
```ruby
|
|
391
|
+
require 'time'
|
|
392
|
+
require 'crossly_buyer'
|
|
393
|
+
# setup authorization
|
|
394
|
+
CrosslyBuyer.configure do |config|
|
|
395
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
396
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
400
|
+
opts = {
|
|
401
|
+
create_buyer_scan_session_request: CrosslyBuyer::CreateBuyerScanSessionRequest.new # CreateBuyerScanSessionRequest |
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
begin
|
|
405
|
+
# Open a Live Shop session.
|
|
406
|
+
result = api_instance.create_buyer_scan_session(opts)
|
|
407
|
+
p result
|
|
408
|
+
rescue CrosslyBuyer::ApiError => e
|
|
409
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_scan_session: #{e}"
|
|
410
|
+
end
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
#### Using the create_buyer_scan_session_with_http_info variant
|
|
414
|
+
|
|
415
|
+
This returns an Array which contains the response data, status code and headers.
|
|
416
|
+
|
|
417
|
+
> <Array(<CreateBuyerScanSessionResponse>, Integer, Hash)> create_buyer_scan_session_with_http_info(opts)
|
|
418
|
+
|
|
419
|
+
```ruby
|
|
420
|
+
begin
|
|
421
|
+
# Open a Live Shop session.
|
|
422
|
+
data, status_code, headers = api_instance.create_buyer_scan_session_with_http_info(opts)
|
|
423
|
+
p status_code # => 2xx
|
|
424
|
+
p headers # => { ... }
|
|
425
|
+
p data # => <CreateBuyerScanSessionResponse>
|
|
426
|
+
rescue CrosslyBuyer::ApiError => e
|
|
427
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_scan_session_with_http_info: #{e}"
|
|
428
|
+
end
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
### Parameters
|
|
432
|
+
|
|
433
|
+
| Name | Type | Description | Notes |
|
|
434
|
+
| ---- | ---- | ----------- | ----- |
|
|
435
|
+
| **create_buyer_scan_session_request** | **CreateBuyerScanSessionRequest** | | [optional] |
|
|
436
|
+
|
|
437
|
+
### Return type
|
|
438
|
+
|
|
439
|
+
**CreateBuyerScanSessionResponse**
|
|
440
|
+
|
|
441
|
+
### Authorization
|
|
442
|
+
|
|
443
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
444
|
+
|
|
445
|
+
### HTTP request headers
|
|
446
|
+
|
|
447
|
+
- **Content-Type**: application/json
|
|
448
|
+
- **Accept**: application/json
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
## create_buyer_scan_session_end
|
|
452
|
+
|
|
453
|
+
> <CreateBuyerScanSessionEndResponse> create_buyer_scan_session_end(id)
|
|
454
|
+
|
|
455
|
+
Close a Live Shop session.
|
|
456
|
+
|
|
457
|
+
### Examples
|
|
458
|
+
|
|
459
|
+
```ruby
|
|
460
|
+
require 'time'
|
|
461
|
+
require 'crossly_buyer'
|
|
462
|
+
# setup authorization
|
|
463
|
+
CrosslyBuyer.configure do |config|
|
|
464
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
465
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
466
|
+
end
|
|
467
|
+
|
|
468
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
469
|
+
id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
470
|
+
|
|
471
|
+
begin
|
|
472
|
+
# Close a Live Shop session.
|
|
473
|
+
result = api_instance.create_buyer_scan_session_end(id)
|
|
474
|
+
p result
|
|
475
|
+
rescue CrosslyBuyer::ApiError => e
|
|
476
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_scan_session_end: #{e}"
|
|
477
|
+
end
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
#### Using the create_buyer_scan_session_end_with_http_info variant
|
|
481
|
+
|
|
482
|
+
This returns an Array which contains the response data, status code and headers.
|
|
483
|
+
|
|
484
|
+
> <Array(<CreateBuyerScanSessionEndResponse>, Integer, Hash)> create_buyer_scan_session_end_with_http_info(id)
|
|
485
|
+
|
|
486
|
+
```ruby
|
|
487
|
+
begin
|
|
488
|
+
# Close a Live Shop session.
|
|
489
|
+
data, status_code, headers = api_instance.create_buyer_scan_session_end_with_http_info(id)
|
|
490
|
+
p status_code # => 2xx
|
|
491
|
+
p headers # => { ... }
|
|
492
|
+
p data # => <CreateBuyerScanSessionEndResponse>
|
|
493
|
+
rescue CrosslyBuyer::ApiError => e
|
|
494
|
+
puts "Error when calling BuyerCatalogApi->create_buyer_scan_session_end_with_http_info: #{e}"
|
|
495
|
+
end
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
### Parameters
|
|
499
|
+
|
|
500
|
+
| Name | Type | Description | Notes |
|
|
501
|
+
| ---- | ---- | ----------- | ----- |
|
|
502
|
+
| **id** | **String** | | |
|
|
503
|
+
|
|
504
|
+
### Return type
|
|
505
|
+
|
|
506
|
+
**CreateBuyerScanSessionEndResponse**
|
|
507
|
+
|
|
508
|
+
### Authorization
|
|
509
|
+
|
|
510
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
511
|
+
|
|
512
|
+
### HTTP request headers
|
|
513
|
+
|
|
514
|
+
- **Content-Type**: Not defined
|
|
515
|
+
- **Accept**: application/json
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
## get_buyer_anywhere
|
|
519
|
+
|
|
520
|
+
> <GetBuyerAnywhereResponse> get_buyer_anywhere(ns, value, opts)
|
|
521
|
+
|
|
522
|
+
Cheapest source for an item — Crossly first, then other retailers.
|
|
523
|
+
|
|
524
|
+
Answers with a VERDICT, not a list: crossly_best, offsite_cheaper, offsite_only or no_match. Offsite offers come from licensed affiliate product feeds, are ranked CHEAPEST-FIRST — commission only ever breaks a sub-$1 tie — and only appear when they beat the price you passed in. `shippingUnknown: true` means a compared price omitted postage, so present the result as \"before postage\" rather than as a delivered total. Crossly wins ties within $1; beyond that the honest answer wins.
|
|
525
|
+
|
|
526
|
+
### Examples
|
|
527
|
+
|
|
528
|
+
```ruby
|
|
529
|
+
require 'time'
|
|
530
|
+
require 'crossly_buyer'
|
|
531
|
+
# setup authorization
|
|
532
|
+
CrosslyBuyer.configure do |config|
|
|
533
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
534
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
535
|
+
end
|
|
536
|
+
|
|
537
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
538
|
+
ns = 'discogs' # String | An identifier the item actually carries. No free-text fallback, ever — see docs/IDENTIFIER-FIRST.md. A title-matched \"cheaper elsewhere\" is a claim about a different product. The ALLOW-LIST, not a free string. `compare.ts` explains why: the namespace goes straight into a query, and an open passthrough lets a caller enumerate every namespace we hold — a map of the catalogue's provenance. Reusing the same list here keeps the two from drifting.
|
|
539
|
+
value = 'value_example' # String |
|
|
540
|
+
opts = {
|
|
541
|
+
page_price_cents: 8.14, # Float | What the buyer is looking at, so \"cheaper\" means cheaper than THAT.
|
|
542
|
+
currency: 'currency_example' # String |
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
begin
|
|
546
|
+
# Cheapest source for an item — Crossly first, then other retailers.
|
|
547
|
+
result = api_instance.get_buyer_anywhere(ns, value, opts)
|
|
548
|
+
p result
|
|
549
|
+
rescue CrosslyBuyer::ApiError => e
|
|
550
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_anywhere: #{e}"
|
|
551
|
+
end
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
#### Using the get_buyer_anywhere_with_http_info variant
|
|
555
|
+
|
|
556
|
+
This returns an Array which contains the response data, status code and headers.
|
|
557
|
+
|
|
558
|
+
> <Array(<GetBuyerAnywhereResponse>, Integer, Hash)> get_buyer_anywhere_with_http_info(ns, value, opts)
|
|
559
|
+
|
|
560
|
+
```ruby
|
|
561
|
+
begin
|
|
562
|
+
# Cheapest source for an item — Crossly first, then other retailers.
|
|
563
|
+
data, status_code, headers = api_instance.get_buyer_anywhere_with_http_info(ns, value, opts)
|
|
564
|
+
p status_code # => 2xx
|
|
565
|
+
p headers # => { ... }
|
|
566
|
+
p data # => <GetBuyerAnywhereResponse>
|
|
567
|
+
rescue CrosslyBuyer::ApiError => e
|
|
568
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_anywhere_with_http_info: #{e}"
|
|
569
|
+
end
|
|
570
|
+
```
|
|
571
|
+
|
|
572
|
+
### Parameters
|
|
573
|
+
|
|
574
|
+
| Name | Type | Description | Notes |
|
|
575
|
+
| ---- | ---- | ----------- | ----- |
|
|
576
|
+
| **ns** | **String** | An identifier the item actually carries. No free-text fallback, ever — see docs/IDENTIFIER-FIRST.md. A title-matched \"cheaper elsewhere\" is a claim about a different product. The ALLOW-LIST, not a free string. `compare.ts` explains why: the namespace goes straight into a query, and an open passthrough lets a caller enumerate every namespace we hold — a map of the catalogue's provenance. Reusing the same list here keeps the two from drifting. | |
|
|
577
|
+
| **value** | **String** | | |
|
|
578
|
+
| **page_price_cents** | **Float** | What the buyer is looking at, so \"cheaper\" means cheaper than THAT. | [optional] |
|
|
579
|
+
| **currency** | **String** | | [optional] |
|
|
580
|
+
|
|
581
|
+
### Return type
|
|
582
|
+
|
|
583
|
+
**GetBuyerAnywhereResponse**
|
|
584
|
+
|
|
585
|
+
### Authorization
|
|
586
|
+
|
|
587
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
588
|
+
|
|
589
|
+
### HTTP request headers
|
|
590
|
+
|
|
591
|
+
- **Content-Type**: Not defined
|
|
592
|
+
- **Accept**: application/json
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
## get_buyer_catalog_facet
|
|
596
|
+
|
|
597
|
+
> <GetBuyerCatalogFacetResponse> get_buyer_catalog_facet
|
|
598
|
+
|
|
599
|
+
Brands, categories and conditions that currently have stock.
|
|
600
|
+
|
|
601
|
+
The vocabulary the search filters accept. Counts are live, so a filter built from this will never return an empty page for a value that has since sold out.
|
|
602
|
+
|
|
603
|
+
### Examples
|
|
604
|
+
|
|
605
|
+
```ruby
|
|
606
|
+
require 'time'
|
|
607
|
+
require 'crossly_buyer'
|
|
608
|
+
# setup authorization
|
|
609
|
+
CrosslyBuyer.configure do |config|
|
|
610
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
611
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
615
|
+
|
|
616
|
+
begin
|
|
617
|
+
# Brands, categories and conditions that currently have stock.
|
|
618
|
+
result = api_instance.get_buyer_catalog_facet
|
|
619
|
+
p result
|
|
620
|
+
rescue CrosslyBuyer::ApiError => e
|
|
621
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_catalog_facet: #{e}"
|
|
622
|
+
end
|
|
623
|
+
```
|
|
624
|
+
|
|
625
|
+
#### Using the get_buyer_catalog_facet_with_http_info variant
|
|
626
|
+
|
|
627
|
+
This returns an Array which contains the response data, status code and headers.
|
|
628
|
+
|
|
629
|
+
> <Array(<GetBuyerCatalogFacetResponse>, Integer, Hash)> get_buyer_catalog_facet_with_http_info
|
|
630
|
+
|
|
631
|
+
```ruby
|
|
632
|
+
begin
|
|
633
|
+
# Brands, categories and conditions that currently have stock.
|
|
634
|
+
data, status_code, headers = api_instance.get_buyer_catalog_facet_with_http_info
|
|
635
|
+
p status_code # => 2xx
|
|
636
|
+
p headers # => { ... }
|
|
637
|
+
p data # => <GetBuyerCatalogFacetResponse>
|
|
638
|
+
rescue CrosslyBuyer::ApiError => e
|
|
639
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_catalog_facet_with_http_info: #{e}"
|
|
640
|
+
end
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
### Parameters
|
|
644
|
+
|
|
645
|
+
This endpoint does not need any parameter.
|
|
646
|
+
|
|
647
|
+
### Return type
|
|
648
|
+
|
|
649
|
+
**GetBuyerCatalogFacetResponse**
|
|
650
|
+
|
|
651
|
+
### Authorization
|
|
652
|
+
|
|
653
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
654
|
+
|
|
655
|
+
### HTTP request headers
|
|
656
|
+
|
|
657
|
+
- **Content-Type**: Not defined
|
|
658
|
+
- **Accept**: application/json
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
## get_buyer_catalog_fx
|
|
662
|
+
|
|
663
|
+
> <GetBuyerCatalogFxResponse> get_buyer_catalog_fx
|
|
664
|
+
|
|
665
|
+
Display-only exchange rates (units per 1 USD).
|
|
666
|
+
|
|
667
|
+
ECB daily reference rates rebased to US dollars: `rates.EUR = 0.92` means $1 ≈ €0.92. `asOf` is the ECB publication date (null until the first refresh). For showing an approximate price only — every Crossly price and charge is in USD, and the card issuer sets the final exchange rate.
|
|
668
|
+
|
|
669
|
+
### Examples
|
|
670
|
+
|
|
671
|
+
```ruby
|
|
672
|
+
require 'time'
|
|
673
|
+
require 'crossly_buyer'
|
|
674
|
+
# setup authorization
|
|
675
|
+
CrosslyBuyer.configure do |config|
|
|
676
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
677
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
678
|
+
end
|
|
679
|
+
|
|
680
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
681
|
+
|
|
682
|
+
begin
|
|
683
|
+
# Display-only exchange rates (units per 1 USD).
|
|
684
|
+
result = api_instance.get_buyer_catalog_fx
|
|
685
|
+
p result
|
|
686
|
+
rescue CrosslyBuyer::ApiError => e
|
|
687
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_catalog_fx: #{e}"
|
|
688
|
+
end
|
|
689
|
+
```
|
|
690
|
+
|
|
691
|
+
#### Using the get_buyer_catalog_fx_with_http_info variant
|
|
692
|
+
|
|
693
|
+
This returns an Array which contains the response data, status code and headers.
|
|
694
|
+
|
|
695
|
+
> <Array(<GetBuyerCatalogFxResponse>, Integer, Hash)> get_buyer_catalog_fx_with_http_info
|
|
696
|
+
|
|
697
|
+
```ruby
|
|
698
|
+
begin
|
|
699
|
+
# Display-only exchange rates (units per 1 USD).
|
|
700
|
+
data, status_code, headers = api_instance.get_buyer_catalog_fx_with_http_info
|
|
701
|
+
p status_code # => 2xx
|
|
702
|
+
p headers # => { ... }
|
|
703
|
+
p data # => <GetBuyerCatalogFxResponse>
|
|
704
|
+
rescue CrosslyBuyer::ApiError => e
|
|
705
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_catalog_fx_with_http_info: #{e}"
|
|
706
|
+
end
|
|
707
|
+
```
|
|
708
|
+
|
|
709
|
+
### Parameters
|
|
710
|
+
|
|
711
|
+
This endpoint does not need any parameter.
|
|
712
|
+
|
|
713
|
+
### Return type
|
|
714
|
+
|
|
715
|
+
**GetBuyerCatalogFxResponse**
|
|
716
|
+
|
|
717
|
+
### Authorization
|
|
718
|
+
|
|
719
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
720
|
+
|
|
721
|
+
### HTTP request headers
|
|
722
|
+
|
|
723
|
+
- **Content-Type**: Not defined
|
|
724
|
+
- **Accept**: application/json
|
|
725
|
+
|
|
726
|
+
|
|
727
|
+
## get_buyer_catalog_listing
|
|
728
|
+
|
|
729
|
+
> <GetBuyerCatalogListingResponse> get_buyer_catalog_listing(slug)
|
|
730
|
+
|
|
731
|
+
One listing, in full.
|
|
732
|
+
|
|
733
|
+
### Examples
|
|
734
|
+
|
|
735
|
+
```ruby
|
|
736
|
+
require 'time'
|
|
737
|
+
require 'crossly_buyer'
|
|
738
|
+
# setup authorization
|
|
739
|
+
CrosslyBuyer.configure do |config|
|
|
740
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
741
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
742
|
+
end
|
|
743
|
+
|
|
744
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
745
|
+
slug = 'slug_example' # String |
|
|
746
|
+
|
|
747
|
+
begin
|
|
748
|
+
# One listing, in full.
|
|
749
|
+
result = api_instance.get_buyer_catalog_listing(slug)
|
|
750
|
+
p result
|
|
751
|
+
rescue CrosslyBuyer::ApiError => e
|
|
752
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_catalog_listing: #{e}"
|
|
753
|
+
end
|
|
754
|
+
```
|
|
755
|
+
|
|
756
|
+
#### Using the get_buyer_catalog_listing_with_http_info variant
|
|
757
|
+
|
|
758
|
+
This returns an Array which contains the response data, status code and headers.
|
|
759
|
+
|
|
760
|
+
> <Array(<GetBuyerCatalogListingResponse>, Integer, Hash)> get_buyer_catalog_listing_with_http_info(slug)
|
|
761
|
+
|
|
762
|
+
```ruby
|
|
763
|
+
begin
|
|
764
|
+
# One listing, in full.
|
|
765
|
+
data, status_code, headers = api_instance.get_buyer_catalog_listing_with_http_info(slug)
|
|
766
|
+
p status_code # => 2xx
|
|
767
|
+
p headers # => { ... }
|
|
768
|
+
p data # => <GetBuyerCatalogListingResponse>
|
|
769
|
+
rescue CrosslyBuyer::ApiError => e
|
|
770
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_catalog_listing_with_http_info: #{e}"
|
|
771
|
+
end
|
|
772
|
+
```
|
|
773
|
+
|
|
774
|
+
### Parameters
|
|
775
|
+
|
|
776
|
+
| Name | Type | Description | Notes |
|
|
777
|
+
| ---- | ---- | ----------- | ----- |
|
|
778
|
+
| **slug** | **String** | | |
|
|
779
|
+
|
|
780
|
+
### Return type
|
|
781
|
+
|
|
782
|
+
**GetBuyerCatalogListingResponse**
|
|
783
|
+
|
|
784
|
+
### Authorization
|
|
785
|
+
|
|
786
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
787
|
+
|
|
788
|
+
### HTTP request headers
|
|
789
|
+
|
|
790
|
+
- **Content-Type**: Not defined
|
|
791
|
+
- **Accept**: application/json
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
## get_buyer_catalog_listing_availability
|
|
795
|
+
|
|
796
|
+
> <GetBuyerCatalogListingAvailabilityResponse> get_buyer_catalog_listing_availability(slug)
|
|
797
|
+
|
|
798
|
+
Is it still buyable, and at what price.
|
|
799
|
+
|
|
800
|
+
The cheapest endpoint here, and the one to poll if you are going to poll — a single indexed row, no joins beyond stock, and an ETag so an unchanged answer is a 304. If you want to be TOLD instead of asking, create a monitor.
|
|
801
|
+
|
|
802
|
+
### Examples
|
|
803
|
+
|
|
804
|
+
```ruby
|
|
805
|
+
require 'time'
|
|
806
|
+
require 'crossly_buyer'
|
|
807
|
+
# setup authorization
|
|
808
|
+
CrosslyBuyer.configure do |config|
|
|
809
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
810
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
811
|
+
end
|
|
812
|
+
|
|
813
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
814
|
+
slug = 'slug_example' # String |
|
|
815
|
+
|
|
816
|
+
begin
|
|
817
|
+
# Is it still buyable, and at what price.
|
|
818
|
+
result = api_instance.get_buyer_catalog_listing_availability(slug)
|
|
819
|
+
p result
|
|
820
|
+
rescue CrosslyBuyer::ApiError => e
|
|
821
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_catalog_listing_availability: #{e}"
|
|
822
|
+
end
|
|
823
|
+
```
|
|
824
|
+
|
|
825
|
+
#### Using the get_buyer_catalog_listing_availability_with_http_info variant
|
|
826
|
+
|
|
827
|
+
This returns an Array which contains the response data, status code and headers.
|
|
828
|
+
|
|
829
|
+
> <Array(<GetBuyerCatalogListingAvailabilityResponse>, Integer, Hash)> get_buyer_catalog_listing_availability_with_http_info(slug)
|
|
830
|
+
|
|
831
|
+
```ruby
|
|
832
|
+
begin
|
|
833
|
+
# Is it still buyable, and at what price.
|
|
834
|
+
data, status_code, headers = api_instance.get_buyer_catalog_listing_availability_with_http_info(slug)
|
|
835
|
+
p status_code # => 2xx
|
|
836
|
+
p headers # => { ... }
|
|
837
|
+
p data # => <GetBuyerCatalogListingAvailabilityResponse>
|
|
838
|
+
rescue CrosslyBuyer::ApiError => e
|
|
839
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_catalog_listing_availability_with_http_info: #{e}"
|
|
840
|
+
end
|
|
841
|
+
```
|
|
842
|
+
|
|
843
|
+
### Parameters
|
|
844
|
+
|
|
845
|
+
| Name | Type | Description | Notes |
|
|
846
|
+
| ---- | ---- | ----------- | ----- |
|
|
847
|
+
| **slug** | **String** | | |
|
|
848
|
+
|
|
849
|
+
### Return type
|
|
850
|
+
|
|
851
|
+
**GetBuyerCatalogListingAvailabilityResponse**
|
|
852
|
+
|
|
853
|
+
### Authorization
|
|
854
|
+
|
|
855
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
856
|
+
|
|
857
|
+
### HTTP request headers
|
|
858
|
+
|
|
859
|
+
- **Content-Type**: Not defined
|
|
860
|
+
- **Accept**: application/json
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
## get_buyer_catalog_listing_shipping
|
|
864
|
+
|
|
865
|
+
> <GetBuyerCatalogListingShippingResponse> get_buyer_catalog_listing_shipping(slug, opts)
|
|
866
|
+
|
|
867
|
+
Shipping services and prices to a destination.
|
|
868
|
+
|
|
869
|
+
Lists every shipping service the seller offers to `country` (default: the seller’s own country) with its price for `quantity` units and its delivery window in business days (handling included). `zip` is required for a domestic quote; `state` is optional. `shipsToCountry: false` means the seller does not ship there (`noShipMessage` says why); `partial: true` means a ZIP or postcode could change the answer. Pass a service `id` as `shippingServiceId` to POST /api/v1/buyer/checkout, or in `shippingServiceBySeller` to POST /api/v1/buyer/cart/quote. A seller on \"buyer pays: calculated\" prices each allowed carrier service from the live label rate for this parcel plus their handling fee (rates cached 15 minutes): those services carry `carrier` and `carrierService`, and `calculatedAtCheckout: true` means a ZIP is needed first.
|
|
870
|
+
|
|
871
|
+
### Examples
|
|
872
|
+
|
|
873
|
+
```ruby
|
|
874
|
+
require 'time'
|
|
875
|
+
require 'crossly_buyer'
|
|
876
|
+
# setup authorization
|
|
877
|
+
CrosslyBuyer.configure do |config|
|
|
878
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
879
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
880
|
+
end
|
|
881
|
+
|
|
882
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
883
|
+
slug = 'slug_example' # String |
|
|
884
|
+
opts = {
|
|
885
|
+
zip: 'zip_example', # String |
|
|
886
|
+
state: 'state_example', # String |
|
|
887
|
+
country: 'country_example', # String |
|
|
888
|
+
quantity: 56 # Integer |
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
begin
|
|
892
|
+
# Shipping services and prices to a destination.
|
|
893
|
+
result = api_instance.get_buyer_catalog_listing_shipping(slug, opts)
|
|
894
|
+
p result
|
|
895
|
+
rescue CrosslyBuyer::ApiError => e
|
|
896
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_catalog_listing_shipping: #{e}"
|
|
897
|
+
end
|
|
898
|
+
```
|
|
899
|
+
|
|
900
|
+
#### Using the get_buyer_catalog_listing_shipping_with_http_info variant
|
|
901
|
+
|
|
902
|
+
This returns an Array which contains the response data, status code and headers.
|
|
903
|
+
|
|
904
|
+
> <Array(<GetBuyerCatalogListingShippingResponse>, Integer, Hash)> get_buyer_catalog_listing_shipping_with_http_info(slug, opts)
|
|
905
|
+
|
|
906
|
+
```ruby
|
|
907
|
+
begin
|
|
908
|
+
# Shipping services and prices to a destination.
|
|
909
|
+
data, status_code, headers = api_instance.get_buyer_catalog_listing_shipping_with_http_info(slug, opts)
|
|
910
|
+
p status_code # => 2xx
|
|
911
|
+
p headers # => { ... }
|
|
912
|
+
p data # => <GetBuyerCatalogListingShippingResponse>
|
|
913
|
+
rescue CrosslyBuyer::ApiError => e
|
|
914
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_catalog_listing_shipping_with_http_info: #{e}"
|
|
915
|
+
end
|
|
916
|
+
```
|
|
917
|
+
|
|
918
|
+
### Parameters
|
|
919
|
+
|
|
920
|
+
| Name | Type | Description | Notes |
|
|
921
|
+
| ---- | ---- | ----------- | ----- |
|
|
922
|
+
| **slug** | **String** | | |
|
|
923
|
+
| **zip** | **String** | | [optional] |
|
|
924
|
+
| **state** | **String** | | [optional] |
|
|
925
|
+
| **country** | **String** | | [optional] |
|
|
926
|
+
| **quantity** | **Integer** | | [optional] |
|
|
927
|
+
|
|
928
|
+
### Return type
|
|
929
|
+
|
|
930
|
+
**GetBuyerCatalogListingShippingResponse**
|
|
931
|
+
|
|
932
|
+
### Authorization
|
|
933
|
+
|
|
934
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
935
|
+
|
|
936
|
+
### HTTP request headers
|
|
937
|
+
|
|
938
|
+
- **Content-Type**: Not defined
|
|
939
|
+
- **Accept**: application/json
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
## get_buyer_listing_landed_cost
|
|
943
|
+
|
|
944
|
+
> <GetBuyerListingLandedCostResponse> get_buyer_listing_landed_cost(country, slug, opts)
|
|
945
|
+
|
|
946
|
+
Import duties, taxes and fees to a country (landed cost).
|
|
947
|
+
|
|
948
|
+
Quotes the import duties, import taxes and fees for this listing shipped to `country` (ISO 3166-1 alpha-2), using the cheapest shipping service the seller offers there. `status: included` means checkout charges them now and the parcel ships DDP — no bill at the door; `unavailable` means it ships DDU and `notice` says the carrier or customs may charge on delivery; `none` means the parcel does not cross a border. Amounts are US-dollar cents. Answers 503 with `missingEnv` when landed-cost quoting is not configured on this deployment.
|
|
949
|
+
|
|
950
|
+
### Examples
|
|
951
|
+
|
|
952
|
+
```ruby
|
|
953
|
+
require 'time'
|
|
954
|
+
require 'crossly_buyer'
|
|
955
|
+
# setup authorization
|
|
956
|
+
CrosslyBuyer.configure do |config|
|
|
957
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
958
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
962
|
+
country = 'country_example' # String |
|
|
963
|
+
slug = 'slug_example' # String |
|
|
964
|
+
opts = {
|
|
965
|
+
postal_code: 'postal_code_example', # String |
|
|
966
|
+
quantity: 56 # Integer |
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
begin
|
|
970
|
+
# Import duties, taxes and fees to a country (landed cost).
|
|
971
|
+
result = api_instance.get_buyer_listing_landed_cost(country, slug, opts)
|
|
972
|
+
p result
|
|
973
|
+
rescue CrosslyBuyer::ApiError => e
|
|
974
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_listing_landed_cost: #{e}"
|
|
975
|
+
end
|
|
976
|
+
```
|
|
977
|
+
|
|
978
|
+
#### Using the get_buyer_listing_landed_cost_with_http_info variant
|
|
979
|
+
|
|
980
|
+
This returns an Array which contains the response data, status code and headers.
|
|
981
|
+
|
|
982
|
+
> <Array(<GetBuyerListingLandedCostResponse>, Integer, Hash)> get_buyer_listing_landed_cost_with_http_info(country, slug, opts)
|
|
983
|
+
|
|
984
|
+
```ruby
|
|
985
|
+
begin
|
|
986
|
+
# Import duties, taxes and fees to a country (landed cost).
|
|
987
|
+
data, status_code, headers = api_instance.get_buyer_listing_landed_cost_with_http_info(country, slug, opts)
|
|
988
|
+
p status_code # => 2xx
|
|
989
|
+
p headers # => { ... }
|
|
990
|
+
p data # => <GetBuyerListingLandedCostResponse>
|
|
991
|
+
rescue CrosslyBuyer::ApiError => e
|
|
992
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_listing_landed_cost_with_http_info: #{e}"
|
|
993
|
+
end
|
|
994
|
+
```
|
|
995
|
+
|
|
996
|
+
### Parameters
|
|
997
|
+
|
|
998
|
+
| Name | Type | Description | Notes |
|
|
999
|
+
| ---- | ---- | ----------- | ----- |
|
|
1000
|
+
| **country** | **String** | | |
|
|
1001
|
+
| **slug** | **String** | | |
|
|
1002
|
+
| **postal_code** | **String** | | [optional] |
|
|
1003
|
+
| **quantity** | **Integer** | | [optional] |
|
|
1004
|
+
|
|
1005
|
+
### Return type
|
|
1006
|
+
|
|
1007
|
+
**GetBuyerListingLandedCostResponse**
|
|
1008
|
+
|
|
1009
|
+
### Authorization
|
|
1010
|
+
|
|
1011
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
1012
|
+
|
|
1013
|
+
### HTTP request headers
|
|
1014
|
+
|
|
1015
|
+
- **Content-Type**: Not defined
|
|
1016
|
+
- **Accept**: application/json
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
## get_buyer_scan_session
|
|
1020
|
+
|
|
1021
|
+
> <GetBuyerScanSessionResponse> get_buyer_scan_session(id)
|
|
1022
|
+
|
|
1023
|
+
One trip and everything it found.
|
|
1024
|
+
|
|
1025
|
+
Verdicts are returned EXACTLY as they were given at the time, not re-priced. A history screen that silently refreshes old prices shows a saving that was never actually on offer.
|
|
1026
|
+
|
|
1027
|
+
### Examples
|
|
1028
|
+
|
|
1029
|
+
```ruby
|
|
1030
|
+
require 'time'
|
|
1031
|
+
require 'crossly_buyer'
|
|
1032
|
+
# setup authorization
|
|
1033
|
+
CrosslyBuyer.configure do |config|
|
|
1034
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
1035
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1036
|
+
end
|
|
1037
|
+
|
|
1038
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
1039
|
+
id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
|
|
1040
|
+
|
|
1041
|
+
begin
|
|
1042
|
+
# One trip and everything it found.
|
|
1043
|
+
result = api_instance.get_buyer_scan_session(id)
|
|
1044
|
+
p result
|
|
1045
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1046
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_scan_session: #{e}"
|
|
1047
|
+
end
|
|
1048
|
+
```
|
|
1049
|
+
|
|
1050
|
+
#### Using the get_buyer_scan_session_with_http_info variant
|
|
1051
|
+
|
|
1052
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1053
|
+
|
|
1054
|
+
> <Array(<GetBuyerScanSessionResponse>, Integer, Hash)> get_buyer_scan_session_with_http_info(id)
|
|
1055
|
+
|
|
1056
|
+
```ruby
|
|
1057
|
+
begin
|
|
1058
|
+
# One trip and everything it found.
|
|
1059
|
+
data, status_code, headers = api_instance.get_buyer_scan_session_with_http_info(id)
|
|
1060
|
+
p status_code # => 2xx
|
|
1061
|
+
p headers # => { ... }
|
|
1062
|
+
p data # => <GetBuyerScanSessionResponse>
|
|
1063
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1064
|
+
puts "Error when calling BuyerCatalogApi->get_buyer_scan_session_with_http_info: #{e}"
|
|
1065
|
+
end
|
|
1066
|
+
```
|
|
1067
|
+
|
|
1068
|
+
### Parameters
|
|
1069
|
+
|
|
1070
|
+
| Name | Type | Description | Notes |
|
|
1071
|
+
| ---- | ---- | ----------- | ----- |
|
|
1072
|
+
| **id** | **String** | | |
|
|
1073
|
+
|
|
1074
|
+
### Return type
|
|
1075
|
+
|
|
1076
|
+
**GetBuyerScanSessionResponse**
|
|
1077
|
+
|
|
1078
|
+
### Authorization
|
|
1079
|
+
|
|
1080
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
1081
|
+
|
|
1082
|
+
### HTTP request headers
|
|
1083
|
+
|
|
1084
|
+
- **Content-Type**: Not defined
|
|
1085
|
+
- **Accept**: application/json
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
## list_buyer_catalog_browse
|
|
1089
|
+
|
|
1090
|
+
> <ListBuyerCatalogBrowseResponse> list_buyer_catalog_browse(opts)
|
|
1091
|
+
|
|
1092
|
+
Browse the way the shop does — buying format, returns, size, color, sold items, Best Match.
|
|
1093
|
+
|
|
1094
|
+
Page-numbered and capped at 50 pages of up to 60, like the storefront. For walking the whole catalogue use /v1/buyer/catalog/search, which pages by cursor. Prices are integer CENTS (`minPriceCents=2500` is $25.00). `sold=true` returns recent sales of matching listings (last 90 days) with `soldPriceCents` and `soldAt`, instead of live stock.
|
|
1095
|
+
|
|
1096
|
+
### Examples
|
|
1097
|
+
|
|
1098
|
+
```ruby
|
|
1099
|
+
require 'time'
|
|
1100
|
+
require 'crossly_buyer'
|
|
1101
|
+
# setup authorization
|
|
1102
|
+
CrosslyBuyer.configure do |config|
|
|
1103
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
1104
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1105
|
+
end
|
|
1106
|
+
|
|
1107
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
1108
|
+
opts = {
|
|
1109
|
+
q: 'q_example', # String | Free text; every word must appear in the title or brand.
|
|
1110
|
+
format: 'auction', # String | auction, buy_it_now, or offers (accepts offers).
|
|
1111
|
+
returns: 'true', # String | true = only listings that accept returns.
|
|
1112
|
+
sold: 'true', # String | true = recent sales instead of live listings.
|
|
1113
|
+
size: 'size_example', # String | Exact size, case-insensitive (M does not match XL).
|
|
1114
|
+
color: 'color_example', # String | Exact colour, case-insensitive.
|
|
1115
|
+
ships_to: 'ships_to_example', # String | ISO 3166-1 alpha-2 destination (e.g. GB): only listings whose seller ships there, decided as checkout decides it (the listing's shipping policy and its own restricted countries). An embargoed destination matches nothing. Omitted, or `any`, means no destination filter — the storefront grid defaults to the buyer's country, this endpoint does not.
|
|
1116
|
+
sort: 'best_match', # String | Default best_match with q, newest without.
|
|
1117
|
+
min_price_cents: 56, # Integer | Lowest price, in cents.
|
|
1118
|
+
max_price_cents: 56, # Integer | Highest price, in cents.
|
|
1119
|
+
page: 56, # Integer | 1-indexed page.
|
|
1120
|
+
limit: 56, # Integer | Rows per page.
|
|
1121
|
+
brand: 'brand_example', # String |
|
|
1122
|
+
condition: 'condition_example', # String |
|
|
1123
|
+
category: 'category_example', # String |
|
|
1124
|
+
subcategory: 'subcategory_example', # String |
|
|
1125
|
+
free_shipping: 'true', # String |
|
|
1126
|
+
local_pickup: 'true', # String |
|
|
1127
|
+
deals: 'true', # String |
|
|
1128
|
+
state: 'state_example', # String |
|
|
1129
|
+
zip: 'zip_example' # String |
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
begin
|
|
1133
|
+
# Browse the way the shop does — buying format, returns, size, color, sold items, Best Match.
|
|
1134
|
+
result = api_instance.list_buyer_catalog_browse(opts)
|
|
1135
|
+
p result
|
|
1136
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1137
|
+
puts "Error when calling BuyerCatalogApi->list_buyer_catalog_browse: #{e}"
|
|
1138
|
+
end
|
|
1139
|
+
```
|
|
1140
|
+
|
|
1141
|
+
#### Using the list_buyer_catalog_browse_with_http_info variant
|
|
1142
|
+
|
|
1143
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1144
|
+
|
|
1145
|
+
> <Array(<ListBuyerCatalogBrowseResponse>, Integer, Hash)> list_buyer_catalog_browse_with_http_info(opts)
|
|
1146
|
+
|
|
1147
|
+
```ruby
|
|
1148
|
+
begin
|
|
1149
|
+
# Browse the way the shop does — buying format, returns, size, color, sold items, Best Match.
|
|
1150
|
+
data, status_code, headers = api_instance.list_buyer_catalog_browse_with_http_info(opts)
|
|
1151
|
+
p status_code # => 2xx
|
|
1152
|
+
p headers # => { ... }
|
|
1153
|
+
p data # => <ListBuyerCatalogBrowseResponse>
|
|
1154
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1155
|
+
puts "Error when calling BuyerCatalogApi->list_buyer_catalog_browse_with_http_info: #{e}"
|
|
1156
|
+
end
|
|
1157
|
+
```
|
|
1158
|
+
|
|
1159
|
+
### Parameters
|
|
1160
|
+
|
|
1161
|
+
| Name | Type | Description | Notes |
|
|
1162
|
+
| ---- | ---- | ----------- | ----- |
|
|
1163
|
+
| **q** | **String** | Free text; every word must appear in the title or brand. | [optional] |
|
|
1164
|
+
| **format** | **String** | auction, buy_it_now, or offers (accepts offers). | [optional] |
|
|
1165
|
+
| **returns** | **String** | true = only listings that accept returns. | [optional] |
|
|
1166
|
+
| **sold** | **String** | true = recent sales instead of live listings. | [optional] |
|
|
1167
|
+
| **size** | **String** | Exact size, case-insensitive (M does not match XL). | [optional] |
|
|
1168
|
+
| **color** | **String** | Exact colour, case-insensitive. | [optional] |
|
|
1169
|
+
| **ships_to** | **String** | ISO 3166-1 alpha-2 destination (e.g. GB): only listings whose seller ships there, decided as checkout decides it (the listing's shipping policy and its own restricted countries). An embargoed destination matches nothing. Omitted, or `any`, means no destination filter — the storefront grid defaults to the buyer's country, this endpoint does not. | [optional] |
|
|
1170
|
+
| **sort** | **String** | Default best_match with q, newest without. | [optional] |
|
|
1171
|
+
| **min_price_cents** | **Integer** | Lowest price, in cents. | [optional] |
|
|
1172
|
+
| **max_price_cents** | **Integer** | Highest price, in cents. | [optional] |
|
|
1173
|
+
| **page** | **Integer** | 1-indexed page. | [optional][default to 1] |
|
|
1174
|
+
| **limit** | **Integer** | Rows per page. | [optional][default to 24] |
|
|
1175
|
+
| **brand** | **String** | | [optional] |
|
|
1176
|
+
| **condition** | **String** | | [optional] |
|
|
1177
|
+
| **category** | **String** | | [optional] |
|
|
1178
|
+
| **subcategory** | **String** | | [optional] |
|
|
1179
|
+
| **free_shipping** | **String** | | [optional] |
|
|
1180
|
+
| **local_pickup** | **String** | | [optional] |
|
|
1181
|
+
| **deals** | **String** | | [optional] |
|
|
1182
|
+
| **state** | **String** | | [optional] |
|
|
1183
|
+
| **zip** | **String** | | [optional] |
|
|
1184
|
+
|
|
1185
|
+
### Return type
|
|
1186
|
+
|
|
1187
|
+
**ListBuyerCatalogBrowseResponse**
|
|
1188
|
+
|
|
1189
|
+
### Authorization
|
|
1190
|
+
|
|
1191
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
1192
|
+
|
|
1193
|
+
### HTTP request headers
|
|
1194
|
+
|
|
1195
|
+
- **Content-Type**: Not defined
|
|
1196
|
+
- **Accept**: application/json
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
## list_buyer_catalog_listing_sold_history
|
|
1200
|
+
|
|
1201
|
+
> <ListBuyerCatalogListingSoldHistoryResponse> list_buyer_catalog_listing_sold_history(slug)
|
|
1202
|
+
|
|
1203
|
+
What THIS listing has sold for, newest first (last 50), with the median.
|
|
1204
|
+
|
|
1205
|
+
This listing only — never \"similar items\", which would mean matching other listings by resemblance. Prices are per unit, in cents, excluding shipping and tax.
|
|
1206
|
+
|
|
1207
|
+
### Examples
|
|
1208
|
+
|
|
1209
|
+
```ruby
|
|
1210
|
+
require 'time'
|
|
1211
|
+
require 'crossly_buyer'
|
|
1212
|
+
# setup authorization
|
|
1213
|
+
CrosslyBuyer.configure do |config|
|
|
1214
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
1215
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1216
|
+
end
|
|
1217
|
+
|
|
1218
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
1219
|
+
slug = 'slug_example' # String | The listing slug.
|
|
1220
|
+
|
|
1221
|
+
begin
|
|
1222
|
+
# What THIS listing has sold for, newest first (last 50), with the median.
|
|
1223
|
+
result = api_instance.list_buyer_catalog_listing_sold_history(slug)
|
|
1224
|
+
p result
|
|
1225
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1226
|
+
puts "Error when calling BuyerCatalogApi->list_buyer_catalog_listing_sold_history: #{e}"
|
|
1227
|
+
end
|
|
1228
|
+
```
|
|
1229
|
+
|
|
1230
|
+
#### Using the list_buyer_catalog_listing_sold_history_with_http_info variant
|
|
1231
|
+
|
|
1232
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1233
|
+
|
|
1234
|
+
> <Array(<ListBuyerCatalogListingSoldHistoryResponse>, Integer, Hash)> list_buyer_catalog_listing_sold_history_with_http_info(slug)
|
|
1235
|
+
|
|
1236
|
+
```ruby
|
|
1237
|
+
begin
|
|
1238
|
+
# What THIS listing has sold for, newest first (last 50), with the median.
|
|
1239
|
+
data, status_code, headers = api_instance.list_buyer_catalog_listing_sold_history_with_http_info(slug)
|
|
1240
|
+
p status_code # => 2xx
|
|
1241
|
+
p headers # => { ... }
|
|
1242
|
+
p data # => <ListBuyerCatalogListingSoldHistoryResponse>
|
|
1243
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1244
|
+
puts "Error when calling BuyerCatalogApi->list_buyer_catalog_listing_sold_history_with_http_info: #{e}"
|
|
1245
|
+
end
|
|
1246
|
+
```
|
|
1247
|
+
|
|
1248
|
+
### Parameters
|
|
1249
|
+
|
|
1250
|
+
| Name | Type | Description | Notes |
|
|
1251
|
+
| ---- | ---- | ----------- | ----- |
|
|
1252
|
+
| **slug** | **String** | The listing slug. | |
|
|
1253
|
+
|
|
1254
|
+
### Return type
|
|
1255
|
+
|
|
1256
|
+
**ListBuyerCatalogListingSoldHistoryResponse**
|
|
1257
|
+
|
|
1258
|
+
### Authorization
|
|
1259
|
+
|
|
1260
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
1261
|
+
|
|
1262
|
+
### HTTP request headers
|
|
1263
|
+
|
|
1264
|
+
- **Content-Type**: Not defined
|
|
1265
|
+
- **Accept**: application/json
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
## list_buyer_catalog_search
|
|
1269
|
+
|
|
1270
|
+
> <ListBuyerCatalogSearchResponse> list_buyer_catalog_search(opts)
|
|
1271
|
+
|
|
1272
|
+
Search the Crossly catalogue.
|
|
1273
|
+
|
|
1274
|
+
Keyset-paginated. Pass the `nextCursor` you were given back as `cursor`; page 500 costs the same as page 1. Cursors are opaque — do not parse them. Responses carry an ETag: send it back as If-None-Match and an unchanged page answers 304, which is free. `sort=popular` is deliberately unavailable, because a cursor into a continuously-reordering list silently skips rows.
|
|
1275
|
+
|
|
1276
|
+
### Examples
|
|
1277
|
+
|
|
1278
|
+
```ruby
|
|
1279
|
+
require 'time'
|
|
1280
|
+
require 'crossly_buyer'
|
|
1281
|
+
# setup authorization
|
|
1282
|
+
CrosslyBuyer.configure do |config|
|
|
1283
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
1284
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1285
|
+
end
|
|
1286
|
+
|
|
1287
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
1288
|
+
opts = {
|
|
1289
|
+
q: 'q_example', # String |
|
|
1290
|
+
brand: 'brand_example', # String |
|
|
1291
|
+
category: 'category_example', # String |
|
|
1292
|
+
condition: 'condition_example', # String |
|
|
1293
|
+
seller: 'seller_example', # String |
|
|
1294
|
+
min_price_cents: 8.14, # Float |
|
|
1295
|
+
max_price_cents: 8.14, # Float |
|
|
1296
|
+
listed_after: 'listed_after_example', # String |
|
|
1297
|
+
in_stock_only: 'true', # String |
|
|
1298
|
+
sort: 'newest', # String |
|
|
1299
|
+
limit: 8.14, # Float |
|
|
1300
|
+
cursor: 'cursor_example' # String |
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
begin
|
|
1304
|
+
# Search the Crossly catalogue.
|
|
1305
|
+
result = api_instance.list_buyer_catalog_search(opts)
|
|
1306
|
+
p result
|
|
1307
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1308
|
+
puts "Error when calling BuyerCatalogApi->list_buyer_catalog_search: #{e}"
|
|
1309
|
+
end
|
|
1310
|
+
```
|
|
1311
|
+
|
|
1312
|
+
#### Using the list_buyer_catalog_search_with_http_info variant
|
|
1313
|
+
|
|
1314
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1315
|
+
|
|
1316
|
+
> <Array(<ListBuyerCatalogSearchResponse>, Integer, Hash)> list_buyer_catalog_search_with_http_info(opts)
|
|
1317
|
+
|
|
1318
|
+
```ruby
|
|
1319
|
+
begin
|
|
1320
|
+
# Search the Crossly catalogue.
|
|
1321
|
+
data, status_code, headers = api_instance.list_buyer_catalog_search_with_http_info(opts)
|
|
1322
|
+
p status_code # => 2xx
|
|
1323
|
+
p headers # => { ... }
|
|
1324
|
+
p data # => <ListBuyerCatalogSearchResponse>
|
|
1325
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1326
|
+
puts "Error when calling BuyerCatalogApi->list_buyer_catalog_search_with_http_info: #{e}"
|
|
1327
|
+
end
|
|
1328
|
+
```
|
|
1329
|
+
|
|
1330
|
+
### Parameters
|
|
1331
|
+
|
|
1332
|
+
| Name | Type | Description | Notes |
|
|
1333
|
+
| ---- | ---- | ----------- | ----- |
|
|
1334
|
+
| **q** | **String** | | [optional] |
|
|
1335
|
+
| **brand** | **String** | | [optional] |
|
|
1336
|
+
| **category** | **String** | | [optional] |
|
|
1337
|
+
| **condition** | **String** | | [optional] |
|
|
1338
|
+
| **seller** | **String** | | [optional] |
|
|
1339
|
+
| **min_price_cents** | **Float** | | [optional] |
|
|
1340
|
+
| **max_price_cents** | **Float** | | [optional] |
|
|
1341
|
+
| **listed_after** | **String** | | [optional] |
|
|
1342
|
+
| **in_stock_only** | **String** | | [optional] |
|
|
1343
|
+
| **sort** | **String** | | [optional] |
|
|
1344
|
+
| **limit** | **Float** | | [optional] |
|
|
1345
|
+
| **cursor** | **String** | | [optional] |
|
|
1346
|
+
|
|
1347
|
+
### Return type
|
|
1348
|
+
|
|
1349
|
+
**ListBuyerCatalogSearchResponse**
|
|
1350
|
+
|
|
1351
|
+
### Authorization
|
|
1352
|
+
|
|
1353
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
1354
|
+
|
|
1355
|
+
### HTTP request headers
|
|
1356
|
+
|
|
1357
|
+
- **Content-Type**: Not defined
|
|
1358
|
+
- **Accept**: application/json
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
## list_buyer_catalog_sellers
|
|
1362
|
+
|
|
1363
|
+
> <ListBuyerCatalogSellersResponse> list_buyer_catalog_sellers(q, opts)
|
|
1364
|
+
|
|
1365
|
+
Find a seller by shop handle or shop name.
|
|
1366
|
+
|
|
1367
|
+
Only shops that have listed on Crossly. Exact matches first, then prefix, then by live listing count.
|
|
1368
|
+
|
|
1369
|
+
### Examples
|
|
1370
|
+
|
|
1371
|
+
```ruby
|
|
1372
|
+
require 'time'
|
|
1373
|
+
require 'crossly_buyer'
|
|
1374
|
+
# setup authorization
|
|
1375
|
+
CrosslyBuyer.configure do |config|
|
|
1376
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
1377
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
1381
|
+
q = 'q_example' # String | At least two characters of a handle or shop name.
|
|
1382
|
+
opts = {
|
|
1383
|
+
limit: 56 # Integer | How many shops to return.
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
begin
|
|
1387
|
+
# Find a seller by shop handle or shop name.
|
|
1388
|
+
result = api_instance.list_buyer_catalog_sellers(q, opts)
|
|
1389
|
+
p result
|
|
1390
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1391
|
+
puts "Error when calling BuyerCatalogApi->list_buyer_catalog_sellers: #{e}"
|
|
1392
|
+
end
|
|
1393
|
+
```
|
|
1394
|
+
|
|
1395
|
+
#### Using the list_buyer_catalog_sellers_with_http_info variant
|
|
1396
|
+
|
|
1397
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1398
|
+
|
|
1399
|
+
> <Array(<ListBuyerCatalogSellersResponse>, Integer, Hash)> list_buyer_catalog_sellers_with_http_info(q, opts)
|
|
1400
|
+
|
|
1401
|
+
```ruby
|
|
1402
|
+
begin
|
|
1403
|
+
# Find a seller by shop handle or shop name.
|
|
1404
|
+
data, status_code, headers = api_instance.list_buyer_catalog_sellers_with_http_info(q, opts)
|
|
1405
|
+
p status_code # => 2xx
|
|
1406
|
+
p headers # => { ... }
|
|
1407
|
+
p data # => <ListBuyerCatalogSellersResponse>
|
|
1408
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1409
|
+
puts "Error when calling BuyerCatalogApi->list_buyer_catalog_sellers_with_http_info: #{e}"
|
|
1410
|
+
end
|
|
1411
|
+
```
|
|
1412
|
+
|
|
1413
|
+
### Parameters
|
|
1414
|
+
|
|
1415
|
+
| Name | Type | Description | Notes |
|
|
1416
|
+
| ---- | ---- | ----------- | ----- |
|
|
1417
|
+
| **q** | **String** | At least two characters of a handle or shop name. | |
|
|
1418
|
+
| **limit** | **Integer** | How many shops to return. | [optional][default to 12] |
|
|
1419
|
+
|
|
1420
|
+
### Return type
|
|
1421
|
+
|
|
1422
|
+
**ListBuyerCatalogSellersResponse**
|
|
1423
|
+
|
|
1424
|
+
### Authorization
|
|
1425
|
+
|
|
1426
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
1427
|
+
|
|
1428
|
+
### HTTP request headers
|
|
1429
|
+
|
|
1430
|
+
- **Content-Type**: Not defined
|
|
1431
|
+
- **Accept**: application/json
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
## list_buyer_scan_sessions
|
|
1435
|
+
|
|
1436
|
+
> <ListBuyerScanSessionsResponse> list_buyer_scan_sessions
|
|
1437
|
+
|
|
1438
|
+
Your scanning trips, newest first.
|
|
1439
|
+
|
|
1440
|
+
### Examples
|
|
1441
|
+
|
|
1442
|
+
```ruby
|
|
1443
|
+
require 'time'
|
|
1444
|
+
require 'crossly_buyer'
|
|
1445
|
+
# setup authorization
|
|
1446
|
+
CrosslyBuyer.configure do |config|
|
|
1447
|
+
# Configure Bearer authorization: BuyerOAuth
|
|
1448
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1449
|
+
end
|
|
1450
|
+
|
|
1451
|
+
api_instance = CrosslyBuyer::BuyerCatalogApi.new
|
|
1452
|
+
|
|
1453
|
+
begin
|
|
1454
|
+
# Your scanning trips, newest first.
|
|
1455
|
+
result = api_instance.list_buyer_scan_sessions
|
|
1456
|
+
p result
|
|
1457
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1458
|
+
puts "Error when calling BuyerCatalogApi->list_buyer_scan_sessions: #{e}"
|
|
1459
|
+
end
|
|
1460
|
+
```
|
|
1461
|
+
|
|
1462
|
+
#### Using the list_buyer_scan_sessions_with_http_info variant
|
|
1463
|
+
|
|
1464
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1465
|
+
|
|
1466
|
+
> <Array(<ListBuyerScanSessionsResponse>, Integer, Hash)> list_buyer_scan_sessions_with_http_info
|
|
1467
|
+
|
|
1468
|
+
```ruby
|
|
1469
|
+
begin
|
|
1470
|
+
# Your scanning trips, newest first.
|
|
1471
|
+
data, status_code, headers = api_instance.list_buyer_scan_sessions_with_http_info
|
|
1472
|
+
p status_code # => 2xx
|
|
1473
|
+
p headers # => { ... }
|
|
1474
|
+
p data # => <ListBuyerScanSessionsResponse>
|
|
1475
|
+
rescue CrosslyBuyer::ApiError => e
|
|
1476
|
+
puts "Error when calling BuyerCatalogApi->list_buyer_scan_sessions_with_http_info: #{e}"
|
|
1477
|
+
end
|
|
1478
|
+
```
|
|
1479
|
+
|
|
1480
|
+
### Parameters
|
|
1481
|
+
|
|
1482
|
+
This endpoint does not need any parameter.
|
|
1483
|
+
|
|
1484
|
+
### Return type
|
|
1485
|
+
|
|
1486
|
+
**ListBuyerScanSessionsResponse**
|
|
1487
|
+
|
|
1488
|
+
### Authorization
|
|
1489
|
+
|
|
1490
|
+
[BuyerOAuth](../README.md#BuyerOAuth)
|
|
1491
|
+
|
|
1492
|
+
### HTTP request headers
|
|
1493
|
+
|
|
1494
|
+
- **Content-Type**: Not defined
|
|
1495
|
+
- **Accept**: application/json
|
|
1496
|
+
|