Class: AmazonAds::SupplierProposedDealForecasts

Inherits:
API
  • Object
show all
Defined in:
lib/amazon_ads/apis/supplier_proposed_deal_forecasts.rb

Constant Summary

Constants inherited from API

API::ENDPOINTS

Instance Attribute Summary

Attributes inherited from API

#access_token, #account_id, #profile_id, #region, #retries

Instance Method Summary collapse

Methods inherited from API

#endpoint, #http, #initialize

Constructor Details

This class inherits a constructor from AmazonAds::API

Instance Method Details

#create_supplier_proposed_deal_forecast(supplier_proposed_deal_forecasts:) ⇒ Object

Create supplier proposed deal forecast

Signature:

  • (supplier_proposed_deal_forecasts: Array[untyped]) -> HTTP::Response



7
8
9
# File 'lib/amazon_ads/apis/supplier_proposed_deal_forecasts.rb', line 7

def create_supplier_proposed_deal_forecast(supplier_proposed_deal_forecasts:)
  request(:post, "/adsApi/v1/create/supplierProposedDealForecasts", json: { "supplierProposedDealForecasts" => supplier_proposed_deal_forecasts }.compact)
end