gogol-shopping-content-0.0.1: Google Content API for Shopping SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.ShoppingContent

Contents

Description

Manage product items, inventory, and Merchant Center accounts for Google Shopping.

See: Content API for Shopping Reference

Synopsis

Service Configuration

shoppingContentService :: Service Source

Default request referring to version v2 of the Content API for Shopping. This contains the host and root path used as a starting point for constructing service requests.

API Declaration

type ShoppingContentAPI = AccounttaxListResource :<|> (AccounttaxPatchResource :<|> (AccounttaxGetResource :<|> (AccounttaxCustombatchResource :<|> (AccounttaxUpdateResource :<|> (AccountsInsertResource :<|> (AccountsListResource :<|> (AccountsPatchResource :<|> (AccountsGetResource :<|> (AccountsCustombatchResource :<|> (AccountsAuthInfoResource :<|> (AccountsDeleteResource :<|> (AccountsUpdateResource :<|> (ProductstatusesListResource :<|> (ProductstatusesGetResource :<|> (ProductstatusesCustombatchResource :<|> (InventorySetResource :<|> (InventoryCustombatchResource :<|> (OrdersGetbymerchantOrderidResource :<|> (OrdersCreatetestOrderResource :<|> (OrdersListResource :<|> (OrdersCancellineitemResource :<|> (OrdersUpdatemerchantOrderidResource :<|> (OrdersAcknowledgeResource :<|> (OrdersGetResource :<|> (OrdersRefundResource :<|> (OrdersGettestOrdertemplateResource :<|> (OrdersReturnlineitemResource :<|> (OrdersUpdateshipmentResource :<|> (OrdersCustombatchResource :<|> (OrdersAdvancetestOrderResource :<|> (OrdersShiplineitemsResource :<|> (OrdersCancelResource :<|> (ProductsInsertResource :<|> (ProductsListResource :<|> (ProductsGetResource :<|> (ProductsCustombatchResource :<|> (ProductsDeleteResource :<|> (DatafeedstatusesListResource :<|> (DatafeedstatusesGetResource :<|> (DatafeedstatusesCustombatchResource :<|> (AccountstatusesListResource :<|> (AccountstatusesGetResource :<|> (AccountstatusesCustombatchResource :<|> (AccountshippingListResource :<|> (AccountshippingPatchResource :<|> (AccountshippingGetResource :<|> (AccountshippingCustombatchResource :<|> (AccountshippingUpdateResource :<|> (DatafeedsInsertResource :<|> (DatafeedsListResource :<|> (DatafeedsPatchResource :<|> (DatafeedsGetResource :<|> (DatafeedsCustombatchResource :<|> (DatafeedsDeleteResource :<|> DatafeedsUpdateResource)))))))))))))))))))))))))))))))))))))))))))))))))))))) Source

Represents the entirety of the methods and resources available for the Content API for Shopping service.

Resources

content.accounts.authinfo

content.accounts.custombatch

content.accounts.delete

content.accounts.get

content.accounts.insert

content.accounts.list

content.accounts.patch

content.accounts.update

content.accountshipping.custombatch

content.accountshipping.get

content.accountshipping.list

content.accountshipping.patch

content.accountshipping.update

content.accountstatuses.custombatch

content.accountstatuses.get

content.accountstatuses.list

content.accounttax.custombatch

content.accounttax.get

content.accounttax.list

content.accounttax.patch

content.accounttax.update

content.datafeeds.custombatch

content.datafeeds.delete

content.datafeeds.get

content.datafeeds.insert

content.datafeeds.list

content.datafeeds.patch

content.datafeeds.update

content.datafeedstatuses.custombatch

content.datafeedstatuses.get

content.datafeedstatuses.list

content.inventory.custombatch

content.inventory.set

content.orders.acknowledge

content.orders.advancetestorder

content.orders.cancel

content.orders.cancellineitem

content.orders.createtestorder

content.orders.custombatch

content.orders.get

content.orders.getbymerchantorderid

content.orders.gettestordertemplate

content.orders.list

content.orders.refund

content.orders.returnlineitem

content.orders.shiplineitems

content.orders.updatemerchantorderid

content.orders.updateshipment

content.products.custombatch

content.products.delete

content.products.get

content.products.insert

content.products.list

content.productstatuses.custombatch

content.productstatuses.get

content.productstatuses.list

Types

OrdersAcknowledgeRequest

ordersAcknowledgeRequest :: OrdersAcknowledgeRequest Source

Creates a value of OrdersAcknowledgeRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oarOperationId :: Lens' OrdersAcknowledgeRequest (Maybe Text) Source

The ID of the operation. Unique across all operations for a given order.

AccountTax

accountTax :: AccountTax Source

Creates a value of AccountTax with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

atRules :: Lens' AccountTax [AccountTaxTaxRule] Source

Tax rules. Updating the tax rules will enable US taxes (not reversible). Defining no rules is equivalent to not charging tax at all.

atKind :: Lens' AccountTax Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountTax".

atAccountId :: Lens' AccountTax (Maybe Word64) Source

The ID of the account to which these account tax settings belong.

OrdersUpdateMerchantOrderIdRequest

ordersUpdateMerchantOrderIdRequest :: OrdersUpdateMerchantOrderIdRequest Source

Creates a value of OrdersUpdateMerchantOrderIdRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oumoirMerchantOrderId :: Lens' OrdersUpdateMerchantOrderIdRequest (Maybe Text) Source

The merchant order id to be assigned to the order. Must be unique per merchant.

oumoirOperationId :: Lens' OrdersUpdateMerchantOrderIdRequest (Maybe Text) Source

The ID of the operation. Unique across all operations for a given order.

OrdersAdvanceTestOrderResponse

ordersAdvanceTestOrderResponse :: OrdersAdvanceTestOrderResponse Source

Creates a value of OrdersAdvanceTestOrderResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oatorKind :: Lens' OrdersAdvanceTestOrderResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersAdvanceTestOrderResponse".

ProductsCustomBatchResponse

productsCustomBatchResponse :: ProductsCustomBatchResponse Source

Creates a value of ProductsCustomBatchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcbrEntries :: Lens' ProductsCustomBatchResponse [ProductsCustomBatchResponseEntry] Source

The result of the execution of the batch requests.

pcbrKind :: Lens' ProductsCustomBatchResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#productsCustomBatchResponse".

OrdersGettestOrdertemplateTemplateName

TestOrderCustomer

testOrderCustomer :: TestOrderCustomer Source

Creates a value of TestOrderCustomer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tocFullName :: Lens' TestOrderCustomer (Maybe Text) Source

Full name of the customer.

tocEmail :: Lens' TestOrderCustomer (Maybe Text) Source

Email address of the customer.

tocExplicitMarketingPreference :: Lens' TestOrderCustomer (Maybe Bool) Source

If set, this indicates the user had a choice to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the Purchases on Google checkout flow. Optional.

DatafeedstatusesCustomBatchResponse

datafeedstatusesCustomBatchResponse :: DatafeedstatusesCustomBatchResponse Source

Creates a value of DatafeedstatusesCustomBatchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dcbrKind :: Lens' DatafeedstatusesCustomBatchResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#datafeedstatusesCustomBatchResponse".

OrderReturn

orderReturn :: OrderReturn Source

Creates a value of OrderReturn with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

orQuantity :: Lens' OrderReturn (Maybe Word32) Source

Quantity that is returned.

orActor :: Lens' OrderReturn (Maybe Text) Source

The actor that created the refund.

orReason :: Lens' OrderReturn (Maybe Text) Source

The reason for the return.

orCreationDate :: Lens' OrderReturn (Maybe Text) Source

Date on which the item has been created, in ISO 8601 format.

orReasonText :: Lens' OrderReturn (Maybe Text) Source

The explanation of the reason.

AccounttaxCustomBatchResponseEntry

accounttaxCustomBatchResponseEntry :: AccounttaxCustomBatchResponseEntry Source

Creates a value of AccounttaxCustomBatchResponseEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acbreAccountTax :: Lens' AccounttaxCustomBatchResponseEntry (Maybe AccountTax) Source

The retrieved or updated account tax settings.

acbreKind :: Lens' AccounttaxCustomBatchResponseEntry Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accounttaxCustomBatchResponseEntry".

acbreErrors :: Lens' AccounttaxCustomBatchResponseEntry (Maybe Errors) Source

A list of errors defined if and only if the request failed.

acbreBatchId :: Lens' AccounttaxCustomBatchResponseEntry (Maybe Word32) Source

The ID of the request entry this entry responds to.

InventoryCustomBatchRequest

inventoryCustomBatchRequest :: InventoryCustomBatchRequest Source

Creates a value of InventoryCustomBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

icbrEntries :: Lens' InventoryCustomBatchRequest [InventoryCustomBatchRequestEntry] Source

The request entries to be processed in the batch.

AccountsAuthInfoResponse

accountsAuthInfoResponse :: AccountsAuthInfoResponse Source

Creates a value of AccountsAuthInfoResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aairKind :: Lens' AccountsAuthInfoResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountsAuthInfoResponse".

aairAccountIdentifiers :: Lens' AccountsAuthInfoResponse [AccountIdentifier] Source

The account identifiers corresponding to the authenticated user. - For an individual account: only the merchant ID is defined - For an aggregator: only the aggregator ID is defined - For a subaccount of an MCA: both the merchant ID and the aggregator ID are defined.

ProductStatusDestinationStatus

productStatusDestinationStatus :: ProductStatusDestinationStatus Source

Creates a value of ProductStatusDestinationStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

psdsIntention :: Lens' ProductStatusDestinationStatus (Maybe Text) Source

Whether the destination is required, excluded, selected by default or should be validated.

AccountTaxTaxRule

accountTaxTaxRule :: AccountTaxTaxRule Source

Creates a value of AccountTaxTaxRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

attrUseGlobalRate :: Lens' AccountTaxTaxRule (Maybe Bool) Source

Whether the tax rate is taken from a global tax table or specified explicitly.

attrCountry :: Lens' AccountTaxTaxRule (Maybe Text) Source

Country code in which tax is applicable.

attrShippingTaxed :: Lens' AccountTaxTaxRule (Maybe Bool) Source

If true, shipping charges are also taxed.

attrLocationId :: Lens' AccountTaxTaxRule (Maybe Word64) Source

State (or province) is which the tax is applicable, described by its location id (also called criteria id).

attrRatePercent :: Lens' AccountTaxTaxRule (Maybe Text) Source

Explicit tax rate in percent, represented as a floating point number without the percentage character. Must not be negative.

ProductDestination

productDestination :: ProductDestination Source

Creates a value of ProductDestination with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pdIntention :: Lens' ProductDestination (Maybe Text) Source

Whether the destination is required, excluded or should be validated.

pdDestinationName :: Lens' ProductDestination (Maybe Text) Source

The name of the destination.

DatafeedsCustomBatchRequest

datafeedsCustomBatchRequest :: DatafeedsCustomBatchRequest Source

Creates a value of DatafeedsCustomBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dEntries :: Lens' DatafeedsCustomBatchRequest [DatafeedsCustomBatchRequestEntry] Source

The request entries to be processed in the batch.

OrdersCustomBatchRequestEntry

ocbreMerchantOrderId :: Lens' OrdersCustomBatchRequestEntry (Maybe Text) Source

The merchant order id. Required for updateMerchantOrderId and getByMerchantOrderId methods.

ocbreOperationId :: Lens' OrdersCustomBatchRequestEntry (Maybe Text) Source

The ID of the operation. Unique across all operations for a given order. Required for all methods beside get and getByMerchantOrderId.

ocbreOrderId :: Lens' OrdersCustomBatchRequestEntry (Maybe Text) Source

The ID of the order. Required for all methods beside getByMerchantOrderId.

ocbreBatchId :: Lens' OrdersCustomBatchRequestEntry (Maybe Word32) Source

An entry ID, unique within the batch request.

OrdersRefundRequest

ordersRefundRequest :: OrdersRefundRequest Source

Creates a value of OrdersRefundRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

orrAmount :: Lens' OrdersRefundRequest (Maybe Price) Source

The amount that is refunded.

orrReason :: Lens' OrdersRefundRequest (Maybe Text) Source

The reason for the refund.

orrOperationId :: Lens' OrdersRefundRequest (Maybe Text) Source

The ID of the operation. Unique across all operations for a given order.

orrReasonText :: Lens' OrdersRefundRequest (Maybe Text) Source

The explanation of the reason.

AccountShippingShippingServiceCalculationMethod

assscmPercentageRate :: Lens' AccountShippingShippingServiceCalculationMethod (Maybe Text) Source

Percentage of the price, represented as a floating point number without the percentage character.

assscmCarrierRate :: Lens' AccountShippingShippingServiceCalculationMethod (Maybe Text) Source

Name of the carrier rate to use for the calculation.

assscmRateTable :: Lens' AccountShippingShippingServiceCalculationMethod (Maybe Text) Source

Name of the rate table to use for the calculation.

assscmExcluded :: Lens' AccountShippingShippingServiceCalculationMethod (Maybe Bool) Source

Delivery is excluded. Valid only within cost rules tree.

assscmFlatRate :: Lens' AccountShippingShippingServiceCalculationMethod (Maybe Price) Source

Fixed price shipping, represented as a floating point number associated with a currency.

OrdersCustomBatchRequestEntryCancelLineItem

ordersCustomBatchRequestEntryCancelLineItem :: OrdersCustomBatchRequestEntryCancelLineItem Source

Creates a value of OrdersCustomBatchRequestEntryCancelLineItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

OrderLineItemShippingDetailsMethod

orderLineItemShippingDetailsMethod :: OrderLineItemShippingDetailsMethod Source

Creates a value of OrderLineItemShippingDetailsMethod with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

olisdmCarrier :: Lens' OrderLineItemShippingDetailsMethod (Maybe Text) Source

The carrier for the shipping. Optional.

Datafeed

datafeed :: Datafeed Source

Creates a value of Datafeed with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dKind :: Lens' Datafeed Text Source

Identifies what kind of resource this is. Value: the fixed string "content#datafeed".

dFormat :: Lens' Datafeed (Maybe DatafeedFormat) Source

Format of the feed file.

dAttributeLanguage :: Lens' Datafeed (Maybe Text) Source

The two-letter ISO 639-1 language in which the attributes are defined in the data feed.

dTargetCountry :: Lens' Datafeed (Maybe Text) Source

The country where the items in the feed will be included in the search index, represented as a CLDR territory code.

dFetchSchedule :: Lens' Datafeed (Maybe DatafeedFetchSchedule) Source

Fetch schedule for the feed file.

dName :: Lens' Datafeed (Maybe Text) Source

A descriptive name of the data feed.

dIntendedDestinations :: Lens' Datafeed [Text] Source

The list of intended destinations (corresponds to checked check boxes in Merchant Center).

dId :: Lens' Datafeed (Maybe Int64) Source

The ID of the data feed.

dContentLanguage :: Lens' Datafeed (Maybe Text) Source

The two-letter ISO 639-1 language of the items in the feed.

dContentType :: Lens' Datafeed (Maybe Text) Source

The type of data feed.

dFileName :: Lens' Datafeed (Maybe Text) Source

The filename of the feed. All feeds must have a unique file name.

OrdersCreateTestOrderResponse

ordersCreateTestOrderResponse :: OrdersCreateTestOrderResponse Source

Creates a value of OrdersCreateTestOrderResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

octorKind :: Lens' OrdersCreateTestOrderResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersCreateTestOrderResponse".

octorOrderId :: Lens' OrdersCreateTestOrderResponse (Maybe Text) Source

The ID of the newly created test order.

AccountsCustomBatchResponseEntry

accountsCustomBatchResponseEntry :: AccountsCustomBatchResponseEntry Source

Creates a value of AccountsCustomBatchResponseEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aKind :: Lens' AccountsCustomBatchResponseEntry Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountsCustomBatchResponseEntry".

aAccount :: Lens' AccountsCustomBatchResponseEntry (Maybe Account) Source

The retrieved, created, or updated account. Not defined if the method was delete.

aErrors :: Lens' AccountsCustomBatchResponseEntry (Maybe Errors) Source

A list of errors defined if and only if the request failed.

aBatchId :: Lens' AccountsCustomBatchResponseEntry (Maybe Word32) Source

The ID of the request entry this entry responds to.

OrdersListOrderBy

data OrdersListOrderBy Source

The ordering of the returned list. The only supported value are placedDate desc and placedDate asc for now, which returns orders sorted by placement date. "placedDate desc" stands for listing orders by placement date, from oldest to most recent. "placedDate asc" stands for listing orders by placement date, from most recent to oldest. In future releases we'll support other sorting criteria.

Constructors

PlacedDateAsc
placedDate asc
PlacedDateDesc
placedDate desc

AccountIdentifier

accountIdentifier :: AccountIdentifier Source

Creates a value of AccountIdentifier with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aiMerchantId :: Lens' AccountIdentifier (Maybe Word64) Source

The merchant account ID, set for individual accounts and subaccounts.

aiAggregatorId :: Lens' AccountIdentifier (Maybe Word64) Source

The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount).

TestOrderPaymentMethod

testOrderPaymentMethod :: TestOrderPaymentMethod Source

Creates a value of TestOrderPaymentMethod with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

topmExpirationMonth :: Lens' TestOrderPaymentMethod (Maybe Int32) Source

The card expiration month (January = 1, February = 2 etc.).

topmExpirationYear :: Lens' TestOrderPaymentMethod (Maybe Int32) Source

The card expiration year (4-digit, e.g. 2015).

topmLastFourDigits :: Lens' TestOrderPaymentMethod (Maybe Text) Source

The last four digits of the card number.

topmType :: Lens' TestOrderPaymentMethod (Maybe Text) Source

The type of instrument. Note that real orders might have different values than the four values accepted by createTestOrder.

OrderLineItem

oliReturnInfo :: Lens' OrderLineItem (Maybe OrderLineItemReturnInfo) Source

Details of the return policy for the line item.

oliShippingDetails :: Lens' OrderLineItem (Maybe OrderLineItemShippingDetails) Source

Details of the requested shipping for the line item.

oliCancellations :: Lens' OrderLineItem [OrderCancellation] Source

Cancellations of the line item.

oliId :: Lens' OrderLineItem (Maybe Text) Source

The id of the line item.

oliTax :: Lens' OrderLineItem (Maybe Price) Source

Total tax amount for the line item. For example, if two items are purchased, and each have a cost tax of $2, the total tax amount will be $4.

oliPrice :: Lens' OrderLineItem (Maybe Price) Source

Total price for the line item. For example, if two items for $10 are purchased, the total price will be $20.

oliProduct :: Lens' OrderLineItem (Maybe OrderLineItemProduct) Source

Product data from the time of the order placement.

oliReturns :: Lens' OrderLineItem [OrderReturn] Source

Returns of the line item.

ProductstatusesCustomBatchResponse

productstatusesCustomBatchResponse :: ProductstatusesCustomBatchResponse Source

Creates a value of ProductstatusesCustomBatchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pKind :: Lens' ProductstatusesCustomBatchResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#productstatusesCustomBatchResponse".

ProductUnitPricingMeasure

productUnitPricingMeasure :: ProductUnitPricingMeasure Source

Creates a value of ProductUnitPricingMeasure with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

OrdersUpdateShipmentRequest

ordersUpdateShipmentRequest :: OrdersUpdateShipmentRequest Source

Creates a value of OrdersUpdateShipmentRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ousrCarrier :: Lens' OrdersUpdateShipmentRequest (Maybe Text) Source

The carrier handling the shipment. Not updated if missing.

ousrStatus :: Lens' OrdersUpdateShipmentRequest (Maybe Text) Source

New status for the shipment. Not updated if missing.

ousrTrackingId :: Lens' OrdersUpdateShipmentRequest (Maybe Text) Source

The tracking id for the shipment. Not updated if missing.

ousrOperationId :: Lens' OrdersUpdateShipmentRequest (Maybe Text) Source

The ID of the operation. Unique across all operations for a given order.

OrderShipmentLineItemShipment

orderShipmentLineItemShipment :: OrderShipmentLineItemShipment Source

Creates a value of OrderShipmentLineItemShipment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oslisLineItemId :: Lens' OrderShipmentLineItemShipment (Maybe Text) Source

The id of the line item that is shipped.

OrdersListStatuses

data OrdersListStatuses Source

Obtains orders that match any of the specified statuses. Multiple values can be specified with comma separation. Additionally, please note that active is a shortcut for pendingShipment and partiallyShipped, and completed is a shortcut for shipped , partiallyDelivered, delivered, partiallyReturned, returned, and canceled.

Constructors

Active
active
Canceled
canceled
Completed
completed
Delivered
delivered
InProgress
inProgress
PartiallyDelivered
partiallyDelivered
PartiallyReturned
partiallyReturned
PartiallyShipped
partiallyShipped
PendingShipment
pendingShipment
Returned
returned
Shipped
shipped

LoyaltyPoints

loyaltyPoints :: LoyaltyPoints Source

Creates a value of LoyaltyPoints with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lpRatio :: Lens' LoyaltyPoints (Maybe Double) Source

The ratio of a point when converted to currency. Google assumes currency based on Merchant Center settings. If ratio is left out, it defaults to 1.0.

lpPointsValue :: Lens' LoyaltyPoints (Maybe Int64) Source

The retailer's loyalty points in absolute value.

lpName :: Lens' LoyaltyPoints (Maybe Text) Source

Name of loyalty points program. It is recommended to limit the name to 12 full-width characters or 24 Roman characters.

AccountshippingCustomBatchRequest

accountshippingCustomBatchRequest :: AccountshippingCustomBatchRequest Source

Creates a value of AccountshippingCustomBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

OrdersCustomBatchRequestEntryShipLineItems

ordersCustomBatchRequestEntryShipLineItems :: OrdersCustomBatchRequestEntryShipLineItems Source

Creates a value of OrdersCustomBatchRequestEntryShipLineItems with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

AccountStatus

data AccountStatus Source

The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.

See: accountStatus smart constructor.

accountStatus :: AccountStatus Source

Creates a value of AccountStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asKind :: Lens' AccountStatus Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountStatus".

asAccountId :: Lens' AccountStatus (Maybe Text) Source

The ID of the account for which the status is reported.

OrdersReturnLineItemRequest

ordersReturnLineItemRequest :: OrdersReturnLineItemRequest Source

Creates a value of OrdersReturnLineItemRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

orlirLineItemId :: Lens' OrdersReturnLineItemRequest (Maybe Text) Source

The ID of the line item to return.

orlirOperationId :: Lens' OrdersReturnLineItemRequest (Maybe Text) Source

The ID of the operation. Unique across all operations for a given order.

AccountstatusesCustomBatchRequest

accountstatusesCustomBatchRequest :: AccountstatusesCustomBatchRequest Source

Creates a value of AccountstatusesCustomBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

AccounttaxListResponse

accounttaxListResponse :: AccounttaxListResponse Source

Creates a value of AccounttaxListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

alrNextPageToken :: Lens' AccounttaxListResponse (Maybe Text) Source

The token for the retrieval of the next page of account tax settings.

alrKind :: Lens' AccounttaxListResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accounttaxListResponse".

OrdersGetTestOrderTemplateResponse

ordersGetTestOrderTemplateResponse :: OrdersGetTestOrderTemplateResponse Source

Creates a value of OrdersGetTestOrderTemplateResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ogtotrKind :: Lens' OrdersGetTestOrderTemplateResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersGetTestOrderTemplateResponse".

AccountsCustomBatchRequestEntry

accountsCustomBatchRequestEntry :: AccountsCustomBatchRequestEntry Source

Creates a value of AccountsCustomBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

accAccount :: Lens' AccountsCustomBatchRequestEntry (Maybe Account) Source

The account to create or update. Only defined if the method is insert or update.

accAccountId :: Lens' AccountsCustomBatchRequestEntry (Maybe Word64) Source

The ID of the account to get or delete. Only defined if the method is get or delete.

accBatchId :: Lens' AccountsCustomBatchRequestEntry (Maybe Word32) Source

An entry ID, unique within the batch request.

Weight

weight :: Weight Source

Creates a value of Weight with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wValue :: Lens' Weight (Maybe Text) Source

The weight represented as a number.

wUnit :: Lens' Weight (Maybe Text) Source

The weight unit.

ProductInstallment

productInstallment :: ProductInstallment Source

Creates a value of ProductInstallment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

piAmount :: Lens' ProductInstallment (Maybe Price) Source

The amount the buyer has to pay per month.

piMonths :: Lens' ProductInstallment (Maybe Int64) Source

The number of installments the buyer has to pay.

Error'

data Error' Source

An error returned by the API.

See: error' smart constructor.

error' :: Error' Source

Creates a value of Error with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eDomain :: Lens' Error' (Maybe Text) Source

The domain of the error.

eReason :: Lens' Error' (Maybe Text) Source

The error code.

eMessage :: Lens' Error' (Maybe Text) Source

A description of the error.

ProductstatusesListResponse

productstatusesListResponse :: ProductstatusesListResponse Source

Creates a value of ProductstatusesListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

plrNextPageToken :: Lens' ProductstatusesListResponse (Maybe Text) Source

The token for the retrieval of the next page of products statuses.

plrKind :: Lens' ProductstatusesListResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#productstatusesListResponse".

OrdersRefundResponse

ordersRefundResponse :: OrdersRefundResponse Source

Creates a value of OrdersRefundResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

orrKind :: Lens' OrdersRefundResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersRefundResponse".

OrdersCreateTestOrderRequest

ordersCreateTestOrderRequest :: OrdersCreateTestOrderRequest Source

Creates a value of OrdersCreateTestOrderRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

octorTemplateName :: Lens' OrdersCreateTestOrderRequest (Maybe Text) Source

The test order template to use. Specify as an alternative to testOrder as a shortcut for retrieving a template and then creating an order using that template.

AccountUser

accountUser :: AccountUser Source

Creates a value of AccountUser with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

auAdmin :: Lens' AccountUser (Maybe Bool) Source

Whether user is an admin.

auEmailAddress :: Lens' AccountUser (Maybe Text) Source

User's email address.

AccountStatusExampleItem

data AccountStatusExampleItem Source

An example of an item that has poor data quality. An item value on the landing page differs from what is submitted, or conflicts with a policy.

See: accountStatusExampleItem smart constructor.

accountStatusExampleItem :: AccountStatusExampleItem Source

Creates a value of AccountStatusExampleItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aseiSubmittedValue :: Lens' AccountStatusExampleItem (Maybe Text) Source

The item value that was submitted.

aseiLink :: Lens' AccountStatusExampleItem (Maybe Text) Source

Landing page of the item.

aseiItemId :: Lens' AccountStatusExampleItem (Maybe Text) Source

Unique item ID as specified in the uploaded product data.

aseiValueOnLandingPage :: Lens' AccountStatusExampleItem (Maybe Text) Source

The actual value on the landing page.

DatafeedsCustomBatchRequestEntry

datafeedsCustomBatchRequestEntry :: DatafeedsCustomBatchRequestEntry Source

Creates a value of DatafeedsCustomBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dcbreDatafeedId :: Lens' DatafeedsCustomBatchRequestEntry (Maybe Word64) Source

The ID of the data feed to get or delete.

dcbreBatchId :: Lens' DatafeedsCustomBatchRequestEntry (Maybe Word32) Source

An entry ID, unique within the batch request.

DatafeedFetchSchedule

data DatafeedFetchSchedule Source

The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required.

See: datafeedFetchSchedule smart constructor.

datafeedFetchSchedule :: DatafeedFetchSchedule Source

Creates a value of DatafeedFetchSchedule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dfsFetchURL :: Lens' DatafeedFetchSchedule (Maybe Text) Source

The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.

dfsUsername :: Lens' DatafeedFetchSchedule (Maybe Text) Source

An optional user name for fetch_url.

dfsPassword :: Lens' DatafeedFetchSchedule (Maybe Text) Source

An optional password for fetch_url.

dfsDayOfMonth :: Lens' DatafeedFetchSchedule (Maybe Word32) Source

The day of the month the feed file should be fetched (1-31).

dfsHour :: Lens' DatafeedFetchSchedule (Maybe Word32) Source

The hour of the day the feed file should be fetched (0-24).

dfsWeekday :: Lens' DatafeedFetchSchedule (Maybe Text) Source

The day of the week the feed file should be fetched.

dfsTimeZone :: Lens' DatafeedFetchSchedule (Maybe Text) Source

Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".

OrdersCustomBatchRequest

ordersCustomBatchRequest :: OrdersCustomBatchRequest Source

Creates a value of OrdersCustomBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ocbrEntries :: Lens' OrdersCustomBatchRequest [OrdersCustomBatchRequestEntry] Source

The request entries to be processed in the batch.

AccountsListResponse

accountsListResponse :: AccountsListResponse Source

Creates a value of AccountsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

accNextPageToken :: Lens' AccountsListResponse (Maybe Text) Source

The token for the retrieval of the next page of accounts.

accKind :: Lens' AccountsListResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountsListResponse".

ProductStatusDataQualityIssue

productStatusDataQualityIssue :: ProductStatusDataQualityIssue Source

Creates a value of ProductStatusDataQualityIssue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

psdqiLocation :: Lens' ProductStatusDataQualityIssue (Maybe Text) Source

The attribute name that is relevant for the issue.

psdqiFetchStatus :: Lens' ProductStatusDataQualityIssue (Maybe Text) Source

The fetch status for landing_page_errors.

psdqiSeverity :: Lens' ProductStatusDataQualityIssue (Maybe Text) Source

The severity of the data quality issue.

psdqiValueProvided :: Lens' ProductStatusDataQualityIssue (Maybe Text) Source

The value the attribute had at time of evaluation.

psdqiId :: Lens' ProductStatusDataQualityIssue (Maybe Text) Source

The id of the data quality issue.

psdqiValueOnLandingPage :: Lens' ProductStatusDataQualityIssue (Maybe Text) Source

The value of that attribute that was found on the landing page

psdqiTimestamp :: Lens' ProductStatusDataQualityIssue (Maybe Text) Source

The time stamp of the data quality issue.

OrdersShipLineItemsRequest

ordersShipLineItemsRequest :: OrdersShipLineItemsRequest Source

Creates a value of OrdersShipLineItemsRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oslirCarrier :: Lens' OrdersShipLineItemsRequest (Maybe Text) Source

The carrier handling the shipment.

oslirTrackingId :: Lens' OrdersShipLineItemsRequest (Maybe Text) Source

The tracking id for the shipment.

oslirOperationId :: Lens' OrdersShipLineItemsRequest (Maybe Text) Source

The ID of the operation. Unique across all operations for a given order.

AccountsCustomBatchResponse

accountsCustomBatchResponse :: AccountsCustomBatchResponse Source

Creates a value of AccountsCustomBatchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acbrcEntries :: Lens' AccountsCustomBatchResponse [AccountsCustomBatchResponseEntry] Source

The result of the execution of the batch requests.

acbrcKind :: Lens' AccountsCustomBatchResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountsCustomBatchResponse".

ProductTax

productTax :: ProductTax Source

Creates a value of ProductTax with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ptTaxShip :: Lens' ProductTax (Maybe Bool) Source

Set to true if tax is charged on shipping.

ptCountry :: Lens' ProductTax (Maybe Text) Source

The country within which the item is taxed, specified as a CLDR territory code.

ptPostalCode :: Lens' ProductTax (Maybe Text) Source

The postal code range that the tax rate applies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range between two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, 94*-95*.

ptRate :: Lens' ProductTax (Maybe Double) Source

The percentage of tax rate that applies to the item price.

ptRegion :: Lens' ProductTax (Maybe Text) Source

The geographic region to which the tax rate applies.

ptLocationId :: Lens' ProductTax (Maybe Int64) Source

The numeric id of a location that the tax rate applies to as defined in the AdWords API.

OrderShipment

orderShipment :: OrderShipment Source

Creates a value of OrderShipment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

osCarrier :: Lens' OrderShipment (Maybe Text) Source

The carrier handling the shipment.

osStatus :: Lens' OrderShipment (Maybe Text) Source

The status of the shipment.

osTrackingId :: Lens' OrderShipment (Maybe Text) Source

The tracking id for the shipment.

osId :: Lens' OrderShipment (Maybe Text) Source

The id of the shipment.

osCreationDate :: Lens' OrderShipment (Maybe Text) Source

Date on which the shipment has been created, in ISO 8601 format.

osDeliveryDate :: Lens' OrderShipment (Maybe Text) Source

Date on which the shipment has been delivered, in ISO 8601 format. Present only if status is delievered

OrderLineItemReturnInfo

orderLineItemReturnInfo :: OrderLineItemReturnInfo Source

Creates a value of OrderLineItemReturnInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oliriIsReturnable :: Lens' OrderLineItemReturnInfo (Maybe Bool) Source

Whether the item is returnable.

oliriPolicyURL :: Lens' OrderLineItemReturnInfo (Maybe Text) Source

URL of the item return policy.

oliriDaysToReturn :: Lens' OrderLineItemReturnInfo (Maybe Int32) Source

How many days later the item can be returned.

AccountShippingRateTableCell

accountShippingRateTableCell :: AccountShippingRateTableCell Source

Creates a value of AccountShippingRateTableCell with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asrtcRate :: Lens' AccountShippingRateTableCell (Maybe Price) Source

The rate applicable if the cell conditions are matched.

asrtcCondition :: Lens' AccountShippingRateTableCell (Maybe AccountShippingCondition) Source

Conditions for which the cell is valid. All cells in a table must use the same dimension or pair of dimensions among price, weight, shipping label or delivery location. If no condition is specified, the cell acts as a catch-all and matches all the elements that are not matched by other cells in this dimension.

Account

account :: Account Source

Creates a value of Account with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aaUsers :: Lens' Account [AccountUser] Source

Users with access to the account. Every account (except for subaccounts) must have at least one admin user.

aaKind :: Lens' Account Text Source

Identifies what kind of resource this is. Value: the fixed string "content#account".

aaSellerId :: Lens' Account (Maybe Text) Source

Client-specific, locally-unique, internal ID for the child account.

aaName :: Lens' Account (Maybe Text) Source

Display name for the account.

aaReviewsURL :: Lens' Account (Maybe Text) Source

URL for individual seller reviews, i.e., reviews for each child account.

aaId :: Lens' Account (Maybe Word64) Source

Merchant Center account ID.

aaWebsiteURL :: Lens' Account (Maybe Text) Source

The merchant's website.

aaAdwordsLinks :: Lens' Account [AccountAdwordsLink] Source

List of linked AdWords accounts, active or pending approval. To create a new link request, add a new link with status active to the list. It will remain is state pending until approved or rejected in the AdWords interface. To delete an active link or to cancel a link request, remove it from the list.

aaAdultContent :: Lens' Account (Maybe Bool) Source

Indicates whether the merchant sells adult content.

InventorySetRequest

inventorySetRequest :: InventorySetRequest Source

Creates a value of InventorySetRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

isrQuantity :: Lens' InventorySetRequest (Maybe Word32) Source

The quantity of the product. Must be equal to or greater than zero. Supported only for local products.

isrSalePrice :: Lens' InventorySetRequest (Maybe Price) Source

The sale price of the product. Mandatory if sale_price_effective_date is defined.

isrAvailability :: Lens' InventorySetRequest (Maybe Text) Source

The availability of the product.

isrSalePriceEffectiveDate :: Lens' InventorySetRequest (Maybe Text) Source

A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.

isrSellOnGoogleQuantity :: Lens' InventorySetRequest (Maybe Word32) Source

The quantity of the product that is reserved for sell-on-google ads. Supported only for online products.

isrPrice :: Lens' InventorySetRequest (Maybe Price) Source

The price of the product.

AccountShippingShippingServiceCostRule

data AccountShippingShippingServiceCostRule Source

Building block of the cost calculation decision tree. - The tree root should have no condition and no calculation method. - All the children must have a condition on the same dimension. The first child matching a condition is entered, therefore, price and weight conditions form contiguous intervals. - The last child of an element must have no condition and matches all elements not previously matched. - Children and calculation method are mutually exclusive, and exactly one of them must be defined; the root must only have children.

See: accountShippingShippingServiceCostRule smart constructor.

accountShippingShippingServiceCostRule :: AccountShippingShippingServiceCostRule Source

Creates a value of AccountShippingShippingServiceCostRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

assscrChildren :: Lens' AccountShippingShippingServiceCostRule [AccountShippingShippingServiceCostRule] Source

Subsequent rules to be applied, only for inner nodes. The last child must not specify a condition and acts as a catch-all.

assscrCondition :: Lens' AccountShippingShippingServiceCostRule (Maybe AccountShippingCondition) Source

Condition for this rule to be applicable. If no condition is specified, the rule acts as a catch-all.

OrdersCancelLineItemRequest

ordersCancelLineItemRequest :: OrdersCancelLineItemRequest Source

Creates a value of OrdersCancelLineItemRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oclirLineItemId :: Lens' OrdersCancelLineItemRequest (Maybe Text) Source

The ID of the line item to cancel.

oclirReason :: Lens' OrdersCancelLineItemRequest (Maybe Text) Source

The reason for the cancellation.

oclirOperationId :: Lens' OrdersCancelLineItemRequest (Maybe Text) Source

The ID of the operation. Unique across all operations for a given order.

ProductShippingWeight

productShippingWeight :: ProductShippingWeight Source

Creates a value of ProductShippingWeight with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pswValue :: Lens' ProductShippingWeight (Maybe Double) Source

The weight of the product used to calculate the shipping cost of the item.

AccountstatusesCustomBatchRequestEntry

accountstatusesCustomBatchRequestEntry :: AccountstatusesCustomBatchRequestEntry Source

Creates a value of AccountstatusesCustomBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acbrecAccountId :: Lens' AccountstatusesCustomBatchRequestEntry (Maybe Word64) Source

The ID of the (sub-)account whose status to get.

acbrecBatchId :: Lens' AccountstatusesCustomBatchRequestEntry (Maybe Word32) Source

An entry ID, unique within the batch request.

ProductstatusesCustomBatchResponseEntry

productstatusesCustomBatchResponseEntry :: ProductstatusesCustomBatchResponseEntry Source

Creates a value of ProductstatusesCustomBatchResponseEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcbreKind :: Lens' ProductstatusesCustomBatchResponseEntry Text Source

Identifies what kind of resource this is. Value: the fixed string "content#productstatusesCustomBatchResponseEntry".

pcbreProductStatus :: Lens' ProductstatusesCustomBatchResponseEntry (Maybe ProductStatus) Source

The requested product status. Only defined if the request was successful.

pcbreErrors :: Lens' ProductstatusesCustomBatchResponseEntry (Maybe Errors) Source

A list of errors, if the request failed.

pcbreBatchId :: Lens' ProductstatusesCustomBatchResponseEntry (Maybe Word32) Source

The ID of the request entry this entry responds to.

OrdersCustomBatchRequestEntryCancel

ordersCustomBatchRequestEntryCancel :: OrdersCustomBatchRequestEntryCancel Source

Creates a value of OrdersCustomBatchRequestEntryCancel with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

DatafeedFormat

datafeedFormat :: DatafeedFormat Source

Creates a value of DatafeedFormat with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dfQuotingMode :: Lens' DatafeedFormat (Maybe Text) Source

Specifies how double quotes are interpreted. If not specified, the mode will be auto-detected. Ignored for non-DSV data feeds.

dfFileEncoding :: Lens' DatafeedFormat (Maybe Text) Source

Character encoding scheme of the data feed. If not specified, the encoding will be auto-detected.

dfColumnDelimiter :: Lens' DatafeedFormat (Maybe Text) Source

Delimiter for the separation of values in a delimiter-separated values feed. If not specified, the delimiter will be auto-detected. Ignored for non-DSV data feeds.

ProductShipping

productShipping :: ProductShipping Source

Creates a value of ProductShipping with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

psService :: Lens' ProductShipping (Maybe Text) Source

A free-form description of the service class or delivery speed.

psLocationGroupName :: Lens' ProductShipping (Maybe Text) Source

The location where the shipping is applicable, represented by a location group name.

psCountry :: Lens' ProductShipping (Maybe Text) Source

The CLDR territory code of the country to which an item will ship.

psPostalCode :: Lens' ProductShipping (Maybe Text) Source

The postal code range that the shipping rate applies to, represented by a postal code, a postal code prefix followed by a * wildcard, a range between two postal codes or two postal code prefixes of equal length.

psPrice :: Lens' ProductShipping (Maybe Price) Source

Fixed shipping price, represented as a number.

psRegion :: Lens' ProductShipping (Maybe Text) Source

The geographic region to which a shipping rate applies (e.g. zip code).

psLocationId :: Lens' ProductShipping (Maybe Int64) Source

The numeric id of a location that the shipping rate applies to as defined in the AdWords API.

AccountshippingCustomBatchRequestEntry

accountshippingCustomBatchRequestEntry :: AccountshippingCustomBatchRequestEntry Source

Creates a value of AccountshippingCustomBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aaAccountId :: Lens' AccountshippingCustomBatchRequestEntry (Maybe Word64) Source

The ID of the account for which to get/update account shipping settings.

aaAccountShipping :: Lens' AccountshippingCustomBatchRequestEntry (Maybe AccountShipping) Source

The account shipping settings to update. Only defined if the method is update.

aaBatchId :: Lens' AccountshippingCustomBatchRequestEntry (Maybe Word32) Source

An entry ID, unique within the batch request.

AccountsCustomBatchRequest

accountsCustomBatchRequest :: AccountsCustomBatchRequest Source

Creates a value of AccountsCustomBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

accEntries :: Lens' AccountsCustomBatchRequest [AccountsCustomBatchRequestEntry] Source

The request entries to be processed in the batch.

ProductCustomAttribute

productCustomAttribute :: ProductCustomAttribute Source

Creates a value of ProductCustomAttribute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcaValue :: Lens' ProductCustomAttribute (Maybe Text) Source

The value of the attribute.

pcaName :: Lens' ProductCustomAttribute (Maybe Text) Source

The name of the attribute. Underscores will be replaced by spaces upon insertion.

pcaType :: Lens' ProductCustomAttribute (Maybe Text) Source

The type of the attribute.

pcaUnit :: Lens' ProductCustomAttribute (Maybe Text) Source

Free-form unit of the attribute. Unit can only be used for values of type INT or FLOAT.

AccountShippingPostalCodeRange

data AccountShippingPostalCodeRange Source

A postal code range, that can be either: - A range of postal codes (e.g., start=12340, end=12359) - A range of postal codes prefixes (e.g., start=1234* end=1235*). Prefixes must be of the same length (e.g., start=12* end=2* is invalid).

See: accountShippingPostalCodeRange smart constructor.

accountShippingPostalCodeRange :: AccountShippingPostalCodeRange Source

Creates a value of AccountShippingPostalCodeRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aspcrStart :: Lens' AccountShippingPostalCodeRange (Maybe Text) Source

The first (inclusive) postal code or prefix of the range.

aspcrEnd :: Lens' AccountShippingPostalCodeRange (Maybe Text) Source

The last (inclusive) postal code or prefix of the range.

OrdersListResponse

ordersListResponse :: OrdersListResponse Source

Creates a value of OrdersListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

olrNextPageToken :: Lens' OrdersListResponse (Maybe Text) Source

The token for the retrieval of the next page of orders.

olrKind :: Lens' OrdersListResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersListResponse".

OrdersShipLineItemsResponse

ordersShipLineItemsResponse :: OrdersShipLineItemsResponse Source

Creates a value of OrdersShipLineItemsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oslirKind :: Lens' OrdersShipLineItemsResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersShipLineItemsResponse".

AccountShippingShippingService

accountShippingShippingService :: AccountShippingShippingService Source

Creates a value of AccountShippingShippingService with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asssCostRuleTree :: Lens' AccountShippingShippingService (Maybe AccountShippingShippingServiceCostRule) Source

Decision tree for "complicated" shipping cost calculation.

asssSaleCountry :: Lens' AccountShippingShippingService (Maybe Text) Source

The CLDR territory code of the sale country for which this service can be used.

asssActive :: Lens' AccountShippingShippingService (Maybe Bool) Source

Whether the shipping service is available.

asssName :: Lens' AccountShippingShippingService (Maybe Text) Source

The name of this shipping service.

AccountShippingRateTable

data AccountShippingRateTable Source

A single or bi-dimensional table of shipping rates. Each dimension is defined in terms of consecutive price/weight ranges, delivery locations, or shipping labels.

See: accountShippingRateTable smart constructor.

accountShippingRateTable :: AccountShippingRateTable Source

Creates a value of AccountShippingRateTable with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asrtSaleCountry :: Lens' AccountShippingRateTable (Maybe Text) Source

The sale country for which this table is valid, represented as a CLDR territory code.

asrtContent :: Lens' AccountShippingRateTable [AccountShippingRateTableCell] Source

One-dimensional table cells define one condition along the same dimension. Bi-dimensional table cells use two dimensions with respectively M and N distinct values and must contain exactly M * N cells with distinct conditions (for each possible value pairs).

asrtName :: Lens' AccountShippingRateTable (Maybe Text) Source

The name of the rate table.

AccountshippingCustomBatchResponse

accountshippingCustomBatchResponse :: AccountshippingCustomBatchResponse Source

Creates a value of AccountshippingCustomBatchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acccKind :: Lens' AccountshippingCustomBatchResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountshippingCustomBatchResponse".

OrdersUpdateShipmentResponse

ordersUpdateShipmentResponse :: OrdersUpdateShipmentResponse Source

Creates a value of OrdersUpdateShipmentResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ousrKind :: Lens' OrdersUpdateShipmentResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersUpdateShipmentResponse".

ProductstatusesCustomBatchRequest

productstatusesCustomBatchRequest :: ProductstatusesCustomBatchRequest Source

Creates a value of ProductstatusesCustomBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

OrdersReturnLineItemResponse

ordersReturnLineItemResponse :: OrdersReturnLineItemResponse Source

Creates a value of OrdersReturnLineItemResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

orlirKind :: Lens' OrdersReturnLineItemResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersReturnLineItemResponse".

ProductCustomGroup

productCustomGroup :: ProductCustomGroup Source

Creates a value of ProductCustomGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcgName :: Lens' ProductCustomGroup (Maybe Text) Source

The name of the group. Underscores will be replaced by spaces upon insertion.

AccountstatusesCustomBatchResponse

accountstatusesCustomBatchResponse :: AccountstatusesCustomBatchResponse Source

Creates a value of AccountstatusesCustomBatchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acbr1Kind :: Lens' AccountstatusesCustomBatchResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountstatusesCustomBatchResponse".

ProductStatus

data ProductStatus Source

The status of a product, i.e., information about a product computed asynchronously by the data quality analysis.

See: productStatus smart constructor.

productStatus :: ProductStatus Source

Creates a value of ProductStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

psDataQualityIssues :: Lens' ProductStatus [ProductStatusDataQualityIssue] Source

A list of data quality issues associated with the product.

psKind :: Lens' ProductStatus Text Source

Identifies what kind of resource this is. Value: the fixed string "content#productStatus".

psLink :: Lens' ProductStatus (Maybe Text) Source

The link to the product.

psDestinationStatuses :: Lens' ProductStatus [ProductStatusDestinationStatus] Source

The intended destinations for the product.

psLastUpdateDate :: Lens' ProductStatus (Maybe Text) Source

Date on which the item has been last updated, in ISO 8601 format.

psCreationDate :: Lens' ProductStatus (Maybe Text) Source

Date on which the item has been created, in ISO 8601 format.

psTitle :: Lens' ProductStatus (Maybe Text) Source

The title of the product.

psGoogleExpirationDate :: Lens' ProductStatus (Maybe Text) Source

Date on which the item expires in Google Shopping, in ISO 8601 format.

psProductId :: Lens' ProductStatus (Maybe Text) Source

The id of the product for which status is reported.

AccountstatusesListResponse

accountstatusesListResponse :: AccountstatusesListResponse Source

Creates a value of AccountstatusesListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

alrlNextPageToken :: Lens' AccountstatusesListResponse (Maybe Text) Source

The token for the retrieval of the next page of account statuses.

alrlKind :: Lens' AccountstatusesListResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountstatusesListResponse".

AccounttaxCustomBatchRequest

accounttaxCustomBatchRequest :: AccounttaxCustomBatchRequest Source

Creates a value of AccounttaxCustomBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aaEntries :: Lens' AccounttaxCustomBatchRequest [AccounttaxCustomBatchRequestEntry] Source

The request entries to be processed in the batch.

ProductsCustomBatchRequestEntry

productsCustomBatchRequestEntry :: ProductsCustomBatchRequestEntry Source

Creates a value of ProductsCustomBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pProduct :: Lens' ProductsCustomBatchRequestEntry (Maybe Product) Source

The product to insert. Only required if the method is insert.

pProductId :: Lens' ProductsCustomBatchRequestEntry (Maybe Text) Source

The ID of the product to get or delete. Only defined if the method is get or delete.

pBatchId :: Lens' ProductsCustomBatchRequestEntry (Maybe Word32) Source

An entry ID, unique within the batch request.

DatafeedstatusesCustomBatchRequestEntry

datafeedstatusesCustomBatchRequestEntry :: DatafeedstatusesCustomBatchRequestEntry Source

Creates a value of DatafeedstatusesCustomBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dDatafeedId :: Lens' DatafeedstatusesCustomBatchRequestEntry (Maybe Word64) Source

The ID of the data feed to get or delete.

dBatchId :: Lens' DatafeedstatusesCustomBatchRequestEntry (Maybe Word32) Source

An entry ID, unique within the batch request.

OrderCustomer

orderCustomer :: OrderCustomer Source

Creates a value of OrderCustomer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ocFullName :: Lens' OrderCustomer (Maybe Text) Source

Full name of the customer.

ocEmail :: Lens' OrderCustomer (Maybe Text) Source

Email address of the customer.

ocExplicitMarketingPreference :: Lens' OrderCustomer (Maybe Bool) Source

If set, this indicates the user had a choice to opt in or out of providing marketing rights to the merchant. If unset, this indicates the user has already made this choice in a previous purchase, and was thus not shown the marketing right opt in/out checkbox during the Purchases on Google checkout flow.

InventoryCustomBatchResponseEntry

inventoryCustomBatchResponseEntry :: InventoryCustomBatchResponseEntry Source

Creates a value of InventoryCustomBatchResponseEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

icbreKind :: Lens' InventoryCustomBatchResponseEntry Text Source

Identifies what kind of resource this is. Value: the fixed string "content#inventoryCustomBatchResponseEntry".

icbreErrors :: Lens' InventoryCustomBatchResponseEntry (Maybe Errors) Source

A list of errors defined if and only if the request failed.

icbreBatchId :: Lens' InventoryCustomBatchResponseEntry (Maybe Word32) Source

The ID of the request entry this entry responds to.

AccountshippingListResponse

accountshippingListResponse :: AccountshippingListResponse Source

Creates a value of AccountshippingListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

alr1NextPageToken :: Lens' AccountshippingListResponse (Maybe Text) Source

The token for the retrieval of the next page of account shipping settings.

alr1Kind :: Lens' AccountshippingListResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountshippingListResponse".

Inventory

inventory :: Inventory Source

Creates a value of Inventory with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iKind :: Lens' Inventory Text Source

Identifies what kind of resource this is. Value: the fixed string "content#inventory".

iQuantity :: Lens' Inventory (Maybe Word32) Source

The quantity of the product. Must be equal to or greater than zero. Supported only for local products.

iSalePrice :: Lens' Inventory (Maybe Price) Source

The sale price of the product. Mandatory if sale_price_effective_date is defined.

iAvailability :: Lens' Inventory (Maybe Text) Source

The availability of the product.

iSalePriceEffectiveDate :: Lens' Inventory (Maybe Text) Source

A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates might be specified as 'null' if undecided.

iSellOnGoogleQuantity :: Lens' Inventory (Maybe Word32) Source

The quantity of the product that is reserved for sell-on-google ads. Supported only for online products.

iPrice :: Lens' Inventory (Maybe Price) Source

The price of the product.

OrdersGetByMerchantOrderIdResponse

ordersGetByMerchantOrderIdResponse :: OrdersGetByMerchantOrderIdResponse Source

Creates a value of OrdersGetByMerchantOrderIdResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ogbmoirKind :: Lens' OrdersGetByMerchantOrderIdResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersGetByMerchantOrderIdResponse".

OrdersCancelRequest

ordersCancelRequest :: OrdersCancelRequest Source

Creates a value of OrdersCancelRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ocrReason :: Lens' OrdersCancelRequest (Maybe Text) Source

The reason for the cancellation.

ocrOperationId :: Lens' OrdersCancelRequest (Maybe Text) Source

The ID of the operation. Unique across all operations for a given order.

ocrReasonText :: Lens' OrdersCancelRequest (Maybe Text) Source

The explanation of the reason.

OrderLineItemProductVariantAttribute

orderLineItemProductVariantAttribute :: OrderLineItemProductVariantAttribute Source

Creates a value of OrderLineItemProductVariantAttribute with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

OrdersCustomBatchResponseEntry

ordersCustomBatchResponseEntry :: OrdersCustomBatchResponseEntry Source

Creates a value of OrdersCustomBatchResponseEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oKind :: Lens' OrdersCustomBatchResponseEntry Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersCustomBatchResponseEntry".

oExecutionStatus :: Lens' OrdersCustomBatchResponseEntry (Maybe Text) Source

The status of the execution. Only defined if the method is not get or getByMerchantOrderId and if the request was successful.

oErrors :: Lens' OrdersCustomBatchResponseEntry (Maybe Errors) Source

A list of errors defined if and only if the request failed.

oOrder :: Lens' OrdersCustomBatchResponseEntry (Maybe Order) Source

The retrieved order. Only defined if the method is get and if the request was successful.

oBatchId :: Lens' OrdersCustomBatchResponseEntry (Maybe Word32) Source

The ID of the request entry this entry responds to.

AccountShippingCarrierRate

accountShippingCarrierRate :: AccountShippingCarrierRate Source

Creates a value of AccountShippingCarrierRate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ascrCarrier :: Lens' AccountShippingCarrierRate (Maybe Text) Source

The carrier that is responsible for the shipping, such as "UPS", "FedEx", or "USPS".

ascrSaleCountry :: Lens' AccountShippingCarrierRate (Maybe Text) Source

The sale country for which this carrier rate is valid, represented as a CLDR territory code.

ascrShippingOrigin :: Lens' AccountShippingCarrierRate (Maybe Text) Source

Shipping origin represented as a postal code.

ascrCarrierService :: Lens' AccountShippingCarrierRate (Maybe Text) Source

The carrier service, such as "Ground" or "2Day".

ascrModifierPercent :: Lens' AccountShippingCarrierRate (Maybe Text) Source

Multiplicative shipping rate modifier in percent. Represented as a floating point number without the percentage character.

ascrName :: Lens' AccountShippingCarrierRate (Maybe Text) Source

The name of the carrier rate.

Price

price :: Price Source

Creates a value of Price with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pValue :: Lens' Price (Maybe Text) Source

The price represented as a number.

pCurrency :: Lens' Price (Maybe Text) Source

The currency of the price.

OrderLineItemShippingDetails

orderLineItemShippingDetails :: OrderLineItemShippingDetails Source

Creates a value of OrderLineItemShippingDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

olisdShipByDate :: Lens' OrderLineItemShippingDetails (Maybe Text) Source

The ship by date, in ISO 8601 format.

olisdDeliverByDate :: Lens' OrderLineItemShippingDetails (Maybe Text) Source

The delivery by date, in ISO 8601 format.

DatafeedsCustomBatchResponse

datafeedsCustomBatchResponse :: DatafeedsCustomBatchResponse Source

Creates a value of DatafeedsCustomBatchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

datEntries :: Lens' DatafeedsCustomBatchResponse [DatafeedsCustomBatchResponseEntry] Source

The result of the execution of the batch requests.

datKind :: Lens' DatafeedsCustomBatchResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#datafeedsCustomBatchResponse".

OrderDeliveryDetails

orderDeliveryDetails :: OrderDeliveryDetails Source

Creates a value of OrderDeliveryDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oddPhoneNumber :: Lens' OrderDeliveryDetails (Maybe Text) Source

The phone number of the person receiving the delivery.

OrdersCancelResponse

ordersCancelResponse :: OrdersCancelResponse Source

Creates a value of OrdersCancelResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ocrKind :: Lens' OrdersCancelResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersCancelResponse".

TestOrder

testOrder :: TestOrder Source

Creates a value of TestOrder with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

toKind :: Lens' TestOrder Text Source

Identifies what kind of resource this is. Value: the fixed string "content#testOrder".

toLineItems :: Lens' TestOrder [TestOrderLineItem] Source

Line items that are ordered. At least one line item must be provided.

toShippingOption :: Lens' TestOrder (Maybe Text) Source

The requested shipping option.

toPredefinedDeliveryAddress :: Lens' TestOrder (Maybe Text) Source

Identifier of one of the predefined delivery addresses for the delivery.

toShippingCostTax :: Lens' TestOrder (Maybe Price) Source

The tax for the total shipping cost.

toCustomer :: Lens' TestOrder (Maybe TestOrderCustomer) Source

The details of the customer who placed the order.

toPaymentMethod :: Lens' TestOrder (Maybe TestOrderPaymentMethod) Source

The details of the payment method.

toShippingCost :: Lens' TestOrder (Maybe Price) Source

The total cost of shipping for all items.

DatafeedstatusesCustomBatchResponseEntry

datafeedstatusesCustomBatchResponseEntry :: DatafeedstatusesCustomBatchResponseEntry Source

Creates a value of DatafeedstatusesCustomBatchResponseEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

datErrors :: Lens' DatafeedstatusesCustomBatchResponseEntry (Maybe Errors) Source

A list of errors defined if and only if the request failed.

datDatafeedStatus :: Lens' DatafeedstatusesCustomBatchResponseEntry (Maybe DatafeedStatus) Source

The requested data feed status. Defined if and only if the request was successful.

datBatchId :: Lens' DatafeedstatusesCustomBatchResponseEntry (Maybe Word32) Source

The ID of the request entry this entry responds to.

OrderRefund

orderRefund :: OrderRefund Source

Creates a value of OrderRefund with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oAmount :: Lens' OrderRefund (Maybe Price) Source

The amount that is refunded.

oActor :: Lens' OrderRefund (Maybe Text) Source

The actor that created the refund.

oReason :: Lens' OrderRefund (Maybe Text) Source

The reason for the refund.

oCreationDate :: Lens' OrderRefund (Maybe Text) Source

Date on which the item has been created, in ISO 8601 format.

oReasonText :: Lens' OrderRefund (Maybe Text) Source

The explanation of the reason.

TestOrderLineItemProduct

tolipTargetCountry :: Lens' TestOrderLineItemProduct (Maybe Text) Source

The CLDR territory code of the target country of the product.

tolipGtin :: Lens' TestOrderLineItemProduct (Maybe Text) Source

Global Trade Item Number (GTIN) of the item. Optional.

tolipItemGroupId :: Lens' TestOrderLineItemProduct (Maybe Text) Source

Shared identifier for all variants of the same product. Optional.

tolipContentLanguage :: Lens' TestOrderLineItemProduct (Maybe Text) Source

The two-letter ISO 639-1 language code for the item.

tolipMpn :: Lens' TestOrderLineItemProduct (Maybe Text) Source

Manufacturer Part Number (MPN) of the item. Optional.

tolipCondition :: Lens' TestOrderLineItemProduct (Maybe Text) Source

Condition or state of the item.

AccounttaxCustomBatchResponse

accounttaxCustomBatchResponse :: AccounttaxCustomBatchResponse Source

Creates a value of AccounttaxCustomBatchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

a2Entries :: Lens' AccounttaxCustomBatchResponse [AccounttaxCustomBatchResponseEntry] Source

The result of the execution of the batch requests.

a2Kind :: Lens' AccounttaxCustomBatchResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accounttaxCustomBatchResponse".

InventoryCustomBatchRequestEntry

inventoryCustomBatchRequestEntry :: InventoryCustomBatchRequestEntry Source

Creates a value of InventoryCustomBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iStoreCode :: Lens' InventoryCustomBatchRequestEntry (Maybe Text) Source

The code of the store for which to update price and availability. Use online to update price and availability of an online product.

iInventory :: Lens' InventoryCustomBatchRequestEntry (Maybe Inventory) Source

Price and availability of the product.

iProductId :: Lens' InventoryCustomBatchRequestEntry (Maybe Text) Source

The ID of the product for which to update price and availability.

iBatchId :: Lens' InventoryCustomBatchRequestEntry (Maybe Word32) Source

An entry ID, unique within the batch request.

OrderAddress

orderAddress :: OrderAddress Source

Creates a value of OrderAddress with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oaRecipientName :: Lens' OrderAddress (Maybe Text) Source

Name of the recipient.

oaStreetAddress :: Lens' OrderAddress [Text] Source

Street-level part of the address.

oaCountry :: Lens' OrderAddress (Maybe Text) Source

CLDR country code (e.g. "US").

oaPostalCode :: Lens' OrderAddress (Maybe Text) Source

Postal Code or ZIP (e.g. "94043").

oaLocality :: Lens' OrderAddress (Maybe Text) Source

City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs).

oaIsPostOfficeBox :: Lens' OrderAddress (Maybe Bool) Source

Whether the address is a post office box.

oaFullAddress :: Lens' OrderAddress [Text] Source

Strings representing the lines of the printed label for mailing the order, for example: John Smith 1600 Amphitheatre Parkway Mountain View, CA, 94043 United States

oaRegion :: Lens' OrderAddress (Maybe Text) Source

Top-level administrative subdivision of the country (e.g. "CA").

ProductUnitPricingBaseMeasure

productUnitPricingBaseMeasure :: ProductUnitPricingBaseMeasure Source

Creates a value of ProductUnitPricingBaseMeasure with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pupbmValue :: Lens' ProductUnitPricingBaseMeasure (Maybe Int64) Source

The denominator of the unit price.

AccountShippingCondition

accountShippingCondition :: AccountShippingCondition Source

Creates a value of AccountShippingCondition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ascWeightMax :: Lens' AccountShippingCondition (Maybe Weight) Source

Maximum shipping weight. Forms an interval between the maximum of smaller weight (exclusive) and this weight (inclusive).

ascDeliveryPostalCode :: Lens' AccountShippingCondition (Maybe Text) Source

Delivery location in terms of a postal code.

ascDeliveryLocationGroup :: Lens' AccountShippingCondition (Maybe Text) Source

Delivery location in terms of a location group name. A location group with this name must be specified among location groups.

ascPriceMax :: Lens' AccountShippingCondition (Maybe Price) Source

Maximum shipping price. Forms an interval between the maximum of smaller prices (exclusive) and this price (inclusive).

ascShippingLabel :: Lens' AccountShippingCondition (Maybe Text) Source

Shipping label of the product. The products with the label are matched.

ascDeliveryLocationId :: Lens' AccountShippingCondition (Maybe Int64) Source

Delivery location in terms of a location ID. Can be used to represent administrative areas, smaller country subdivisions, or cities.

DatafeedsListResponse

datafeedsListResponse :: DatafeedsListResponse Source

Creates a value of DatafeedsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dlrNextPageToken :: Lens' DatafeedsListResponse (Maybe Text) Source

The token for the retrieval of the next page of datafeeds.

dlrKind :: Lens' DatafeedsListResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#datafeedsListResponse".

ProductsCustomBatchResponseEntry

productsCustomBatchResponseEntry :: ProductsCustomBatchResponseEntry Source

Creates a value of ProductsCustomBatchResponseEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

proKind :: Lens' ProductsCustomBatchResponseEntry Text Source

Identifies what kind of resource this is. Value: the fixed string "content#productsCustomBatchResponseEntry".

proProduct :: Lens' ProductsCustomBatchResponseEntry (Maybe Product) Source

The inserted product. Only defined if the method is insert and if the request was successful.

proErrors :: Lens' ProductsCustomBatchResponseEntry (Maybe Errors) Source

A list of errors defined if and only if the request failed.

proBatchId :: Lens' ProductsCustomBatchResponseEntry (Maybe Word32) Source

The ID of the request entry this entry responds to.

OrderPaymentMethod

orderPaymentMethod :: OrderPaymentMethod Source

Creates a value of OrderPaymentMethod with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

opmExpirationMonth :: Lens' OrderPaymentMethod (Maybe Int32) Source

The card expiration month (January = 1, February = 2 etc.).

opmExpirationYear :: Lens' OrderPaymentMethod (Maybe Int32) Source

The card expiration year (4-digit, e.g. 2015).

opmPhoneNumber :: Lens' OrderPaymentMethod (Maybe Text) Source

The billing phone number.

opmLastFourDigits :: Lens' OrderPaymentMethod (Maybe Text) Source

The last four digits of the card number.

opmType :: Lens' OrderPaymentMethod (Maybe Text) Source

The type of instrument (VISA, Mastercard, etc).

Product

ppDisplayAdsLink :: Lens' Product (Maybe Text) Source

URL directly to your item's landing page for dynamic remarketing campaigns.

ppCustomLabel1 :: Lens' Product (Maybe Text) Source

Custom label 1 for custom grouping of items in a Shopping campaign.

ppCustomGroups :: Lens' Product [ProductCustomGroup] Source

A list of custom (merchant-provided) custom attribute groups.

ppImageLink :: Lens' Product (Maybe Text) Source

URL of an image of the item.

ppDisplayAdsValue :: Lens' Product (Maybe Double) Source

Offer margin for dynamic remarketing campaigns.

ppLoyaltyPoints :: Lens' Product (Maybe LoyaltyPoints) Source

Loyalty points that users receive after purchasing the item. Japan only.

ppAdditionalImageLinks :: Lens' Product [Text] Source

Additional URLs of images of the item.

ppValidatedDestinations :: Lens' Product [Text] Source

The read-only list of intended destinations which passed validation.

ppColor :: Lens' Product (Maybe Text) Source

Color of the item.

ppCustomLabel0 :: Lens' Product (Maybe Text) Source

Custom label 0 for custom grouping of items in a Shopping campaign.

ppKind :: Lens' Product Text Source

Identifies what kind of resource this is. Value: the fixed string "content#product".

ppMultipack :: Lens' Product (Maybe Int64) Source

The number of identical products in a merchant-defined multipack.

ppPattern :: Lens' Product (Maybe Text) Source

The item's pattern (e.g. polka dots).

ppLink :: Lens' Product (Maybe Text) Source

URL directly linking to your item's page on your website.

ppSizeSystem :: Lens' Product (Maybe Text) Source

System in which the size is specified. Recommended for apparel items.

ppUnitPricingBaseMeasure :: Lens' Product (Maybe ProductUnitPricingBaseMeasure) Source

The preference of the denominator of the unit price.

ppTaxes :: Lens' Product [ProductTax] Source

Tax information.

ppMaterial :: Lens' Product (Maybe Text) Source

The material of which the item is made.

ppInstallment :: Lens' Product (Maybe ProductInstallment) Source

Number and amount of installments to pay for an item. Brazil only.

ppChannel :: Lens' Product (Maybe Text) Source

The item's channel (online or local).

ppProductType :: Lens' Product (Maybe Text) Source

Your category of the item (formatted as in product feeds specification).

ppIdentifierExists :: Lens' Product (Maybe Bool) Source

False when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand. Required according to the Unique Product Identifier Rules for all target countries except for Canada.

ppOnlineOnly :: Lens' Product (Maybe Bool) Source

Whether an item is available for purchase only online.

ppBrand :: Lens' Product (Maybe Text) Source

Brand of the item.

ppUnitPricingMeasure :: Lens' Product (Maybe ProductUnitPricingMeasure) Source

The measure and dimension of an item.

ppSalePrice :: Lens' Product (Maybe Price) Source

Advertised sale price of the item.

ppShippingLength :: Lens' Product (Maybe ProductShippingDimension) Source

Length of the item for shipping.

ppCustomLabel3 :: Lens' Product (Maybe Text) Source

Custom label 3 for custom grouping of items in a Shopping campaign.

ppWarnings :: Lens' Product [Error'] Source

Read-only warnings.

ppAvailability :: Lens' Product (Maybe Text) Source

Availability status of the item.

ppTargetCountry :: Lens' Product (Maybe Text) Source

The CLDR territory code for the item.

ppShippingLabel :: Lens' Product (Maybe Text) Source

The shipping label of the product, used to group product in account-level shipping rules.

ppCustomAttributes :: Lens' Product [ProductCustomAttribute] Source

A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (e.g., { "name": "size type", "type": "text", "value": "regular" }). This is useful for submitting attributes not explicitly exposed by the API.

ppGtin :: Lens' Product (Maybe Text) Source

Global Trade Item Number (GTIN) of the item.

ppAgeGroup :: Lens' Product (Maybe Text) Source

Target age group of the item.

ppDisplayAdsTitle :: Lens' Product (Maybe Text) Source

Title of an item for dynamic remarketing campaigns.

ppGender :: Lens' Product (Maybe Text) Source

Target gender of the item.

ppDestinations :: Lens' Product [ProductDestination] Source

Specifies the intended destinations for the product.

ppExpirationDate :: Lens' Product (Maybe Text) Source

Date on which the item should expire, as specified upon insertion, in ISO 8601 format. The actual expiration date in Google Shopping is exposed in productstatuses as googleExpirationDate and might be earlier if expirationDate is too far in the future.

ppItemGroupId :: Lens' Product (Maybe Text) Source

Shared identifier for all variants of the same product.

ppAdwordsGrouping :: Lens' Product (Maybe Text) Source

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.

ppSalePriceEffectiveDate :: Lens' Product (Maybe Text) Source

Date range during which the item is on sale (see product feed specifications).

ppCustomLabel2 :: Lens' Product (Maybe Text) Source

Custom label 2 for custom grouping of items in a Shopping campaign.

ppGoogleProductCategory :: Lens' Product (Maybe Text) Source

Google's category of the item (see Google product taxonomy).

ppAdwordsRedirect :: Lens' Product (Maybe Text) Source

Allows advertisers to override the item URL when the product is shown within the context of Product Ads.

ppShippingWeight :: Lens' Product (Maybe ProductShippingWeight) Source

Weight of the item for shipping.

ppSellOnGoogleQuantity :: Lens' Product (Maybe Int64) Source

The quantity of the product that is reserved for sell-on-google ads.

ppShippingHeight :: Lens' Product (Maybe ProductShippingDimension) Source

Height of the item for shipping.

ppAvailabilityDate :: Lens' Product (Maybe Text) Source

The day a pre-ordered product becomes available for delivery, in ISO 8601 format.

ppOfferId :: Lens' Product (Maybe Text) Source

An identifier of the item.

ppId :: Lens' Product (Maybe Text) Source

The REST id of the product.

ppAdwordsLabels :: Lens' Product [Text] Source

Similar to adwords_grouping, but only works on CPC.

ppPrice :: Lens' Product (Maybe Price) Source

Price of the item.

ppSizeType :: Lens' Product (Maybe Text) Source

The cut of the item. Recommended for apparel items.

ppMobileLink :: Lens' Product (Maybe Text) Source

Link to a mobile-optimized version of the landing page.

ppTitle :: Lens' Product (Maybe Text) Source

Title of the item.

ppAdult :: Lens' Product (Maybe Bool) Source

Set to true if the item is targeted towards adults.

ppContentLanguage :: Lens' Product (Maybe Text) Source

The two-letter ISO 639-1 language code for the item.

ppAspects :: Lens' Product [ProductAspect] Source

Specifies the intended aspects for the product.

ppEnergyEfficiencyClass :: Lens' Product (Maybe Text) Source

The energy efficiency class as defined in EU directive 2010/30/EU.

ppDisplayAdsSimilarIds :: Lens' Product [Text] Source

Advertiser-specified recommendations.

ppMpn :: Lens' Product (Maybe Text) Source

Manufacturer Part Number (MPN) of the item.

ppCondition :: Lens' Product (Maybe Text) Source

Condition or state of the item.

ppSizes :: Lens' Product [Text] Source

Size of the item.

ppIsBundle :: Lens' Product (Maybe Bool) Source

Whether the item is a merchant-defined bundle. A bundle is a custom grouping of different products sold by a merchant for a single price.

ppDescription :: Lens' Product (Maybe Text) Source

Description of the item.

ppCustomLabel4 :: Lens' Product (Maybe Text) Source

Custom label 4 for custom grouping of items in a Shopping campaign.

ppDisplayAdsId :: Lens' Product (Maybe Text) Source

An identifier for an item for dynamic remarketing campaigns.

Errors

data Errors Source

A list of errors returned by a failed batch entry.

See: errors smart constructor.

errors :: Errors Source

Creates a value of Errors with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

errCode :: Lens' Errors (Maybe Word32) Source

The HTTP status of the first error in errors.

errMessage :: Lens' Errors (Maybe Text) Source

The message of the first error in errors.

errErrors :: Lens' Errors [Error'] Source

A list of errors.

AccountstatusesCustomBatchResponseEntry

accountstatusesCustomBatchResponseEntry :: AccountstatusesCustomBatchResponseEntry Source

Creates a value of AccountstatusesCustomBatchResponseEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acccAccountStatus :: Lens' AccountstatusesCustomBatchResponseEntry (Maybe AccountStatus) Source

The requested account status. Defined if and only if the request was successful.

acccErrors :: Lens' AccountstatusesCustomBatchResponseEntry (Maybe Errors) Source

A list of errors defined if and only if the request failed.

acccBatchId :: Lens' AccountstatusesCustomBatchResponseEntry (Maybe Word32) Source

The ID of the request entry this entry responds to.

InventorySetResponse

inventorySetResponse :: InventorySetResponse Source

Creates a value of InventorySetResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

isrKind :: Lens' InventorySetResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#inventorySetResponse".

OrdersCancelLineItemResponse

ordersCancelLineItemResponse :: OrdersCancelLineItemResponse Source

Creates a value of OrdersCancelLineItemResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oclirKind :: Lens' OrdersCancelLineItemResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersCancelLineItemResponse".

TestOrderLineItem

testOrderLineItem :: TestOrderLineItem Source

Creates a value of TestOrderLineItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

toliReturnInfo :: Lens' TestOrderLineItem (Maybe OrderLineItemReturnInfo) Source

Details of the return policy for the line item.

toliShippingDetails :: Lens' TestOrderLineItem (Maybe OrderLineItemShippingDetails) Source

Details of the requested shipping for the line item.

toliProduct :: Lens' TestOrderLineItem (Maybe TestOrderLineItemProduct) Source

Product data from the time of the order placement.

toliUnitTax :: Lens' TestOrderLineItem (Maybe Price) Source

Unit tax for the line item.

ProductstatusesCustomBatchRequestEntry

productstatusesCustomBatchRequestEntry :: ProductstatusesCustomBatchRequestEntry Source

Creates a value of ProductstatusesCustomBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcbrecProductId :: Lens' ProductstatusesCustomBatchRequestEntry (Maybe Text) Source

The ID of the product whose status to get.

pcbrecBatchId :: Lens' ProductstatusesCustomBatchRequestEntry (Maybe Word32) Source

An entry ID, unique within the batch request.

AccountshippingCustomBatchResponseEntry

accountshippingCustomBatchResponseEntry :: AccountshippingCustomBatchResponseEntry Source

Creates a value of AccountshippingCustomBatchResponseEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

acbre1Kind :: Lens' AccountshippingCustomBatchResponseEntry Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountshippingCustomBatchResponseEntry".

acbre1Errors :: Lens' AccountshippingCustomBatchResponseEntry (Maybe Errors) Source

A list of errors defined if and only if the request failed.

acbre1AccountShipping :: Lens' AccountshippingCustomBatchResponseEntry (Maybe AccountShipping) Source

The retrieved or updated account shipping settings.

acbre1BatchId :: Lens' AccountshippingCustomBatchResponseEntry (Maybe Word32) Source

The ID of the request entry this entry responds to.

ProductAspect

productAspect :: ProductAspect Source

Creates a value of ProductAspect with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

paIntention :: Lens' ProductAspect (Maybe Text) Source

Whether the aspect is required, excluded or should be validated.

paAspectName :: Lens' ProductAspect (Maybe Text) Source

The name of the aspect.

paDestinationName :: Lens' ProductAspect (Maybe Text) Source

The name of the destination. Leave out to apply to all destinations.

AccountShipping

accountShipping :: AccountShipping Source

Creates a value of AccountShipping with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

assCarrierRates :: Lens' AccountShipping [AccountShippingCarrierRate] Source

Carrier-based shipping calculations.

assKind :: Lens' AccountShipping Text Source

Identifies what kind of resource this is. Value: the fixed string "content#accountShipping".

assAccountId :: Lens' AccountShipping (Maybe Word64) Source

The ID of the account to which these account shipping settings belong.

assServices :: Lens' AccountShipping [AccountShippingShippingService] Source

Shipping services describing shipping fees calculation.

OrdersUpdateMerchantOrderIdResponse

ordersUpdateMerchantOrderIdResponse :: OrdersUpdateMerchantOrderIdResponse Source

Creates a value of OrdersUpdateMerchantOrderIdResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oumoirKind :: Lens' OrdersUpdateMerchantOrderIdResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersUpdateMerchantOrderIdResponse".

DatafeedStatusExample

datafeedStatusExample :: DatafeedStatusExample Source

Creates a value of DatafeedStatusExample with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dseLineNumber :: Lens' DatafeedStatusExample (Maybe Word64) Source

Line number in the data feed where the example is found.

dseItemId :: Lens' DatafeedStatusExample (Maybe Text) Source

The ID of the example item.

OrdersAcknowledgeResponse

ordersAcknowledgeResponse :: OrdersAcknowledgeResponse Source

Creates a value of OrdersAcknowledgeResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oarKind :: Lens' OrdersAcknowledgeResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersAcknowledgeResponse".

Order

ooStatus :: Lens' Order (Maybe Text) Source

The status of the order.

ooRefunds :: Lens' Order [OrderRefund] Source

Refunds for the order.

ooKind :: Lens' Order Text Source

Identifies what kind of resource this is. Value: the fixed string "content#order".

ooLineItems :: Lens' Order [OrderLineItem] Source

Line items that are ordered.

ooShipments :: Lens' Order [OrderShipment] Source

Shipments of the order.

ooNetAmount :: Lens' Order (Maybe Price) Source

The net amount for the order. For example, if an order was originally for a grand total of $100 and a refund was issued for $20, the net amount will be $80.

ooPlacedDate :: Lens' Order (Maybe Text) Source

The date when the order was placed, in ISO 8601 format.

ooDeliveryDetails :: Lens' Order (Maybe OrderDeliveryDetails) Source

The details for the delivery.

ooShippingOption :: Lens' Order (Maybe Text) Source

The requested shipping option.

ooMerchantOrderId :: Lens' Order (Maybe Text) Source

Merchant-provided id of the order.

ooAcknowledged :: Lens' Order (Maybe Bool) Source

Whether the order was acknowledged.

ooShippingCostTax :: Lens' Order (Maybe Price) Source

The tax for the total shipping cost.

ooCustomer :: Lens' Order (Maybe OrderCustomer) Source

The details of the customer who placed the order.

ooId :: Lens' Order (Maybe Text) Source

The REST id of the order. Globally unique.

ooPaymentMethod :: Lens' Order (Maybe OrderPaymentMethod) Source

The details of the payment method.

ooPaymentStatus :: Lens' Order (Maybe Text) Source

The status of the payment.

ooShippingCost :: Lens' Order (Maybe Price) Source

The total cost of shipping for all items.

InventoryCustomBatchResponse

inventoryCustomBatchResponse :: InventoryCustomBatchResponse Source

Creates a value of InventoryCustomBatchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

invEntries :: Lens' InventoryCustomBatchResponse [InventoryCustomBatchResponseEntry] Source

The result of the execution of the batch requests.

invKind :: Lens' InventoryCustomBatchResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#inventoryCustomBatchResponse".

OrderLineItemProduct

olipImageLink :: Lens' OrderLineItemProduct (Maybe Text) Source

URL of an image of the item.

olipShownImage :: Lens' OrderLineItemProduct (Maybe Text) Source

URL to the cached image shown to the user when order was placed.

olipChannel :: Lens' OrderLineItemProduct (Maybe Text) Source

The item's channel (online or local).

olipTargetCountry :: Lens' OrderLineItemProduct (Maybe Text) Source

The CLDR territory code of the target country of the product.

olipGtin :: Lens' OrderLineItemProduct (Maybe Text) Source

Global Trade Item Number (GTIN) of the item.

olipItemGroupId :: Lens' OrderLineItemProduct (Maybe Text) Source

Shared identifier for all variants of the same product.

olipOfferId :: Lens' OrderLineItemProduct (Maybe Text) Source

An identifier of the item.

olipId :: Lens' OrderLineItemProduct (Maybe Text) Source

The REST id of the product.

olipVariantAttributes :: Lens' OrderLineItemProduct [OrderLineItemProductVariantAttribute] Source

Variant attributes for the item. These are dimensions of the product, such as color, gender, material, pattern, and size. You can find a comprehensive list of variant attributes here.

olipTitle :: Lens' OrderLineItemProduct (Maybe Text) Source

The title of the product.

olipContentLanguage :: Lens' OrderLineItemProduct (Maybe Text) Source

The two-letter ISO 639-1 language code for the item.

olipMpn :: Lens' OrderLineItemProduct (Maybe Text) Source

Manufacturer Part Number (MPN) of the item.

olipCondition :: Lens' OrderLineItemProduct (Maybe Text) Source

Condition or state of the item.

AccounttaxCustomBatchRequestEntry

accounttaxCustomBatchRequestEntry :: AccounttaxCustomBatchRequestEntry Source

Creates a value of AccounttaxCustomBatchRequestEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

a2AccountTax :: Lens' AccounttaxCustomBatchRequestEntry (Maybe AccountTax) Source

The account tax settings to update. Only defined if the method is update.

a2AccountId :: Lens' AccounttaxCustomBatchRequestEntry (Maybe Word64) Source

The ID of the account for which to get/update account tax settings.

a2BatchId :: Lens' AccounttaxCustomBatchRequestEntry (Maybe Word32) Source

An entry ID, unique within the batch request.

DatafeedStatusError

datafeedStatusError :: DatafeedStatusError Source

Creates a value of DatafeedStatusError with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dseCount :: Lens' DatafeedStatusError (Maybe Word64) Source

The number of occurrences of the error in the feed.

dseCode :: Lens' DatafeedStatusError (Maybe Text) Source

The code of the error, e.g., "validation/invalid_value".

dseMessage :: Lens' DatafeedStatusError (Maybe Text) Source

The error message, e.g., "Invalid price".

dseExamples :: Lens' DatafeedStatusError [DatafeedStatusExample] Source

A list of example occurrences of the error, grouped by product.

ProductsCustomBatchRequest

productsCustomBatchRequest :: ProductsCustomBatchRequest Source

Creates a value of ProductsCustomBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pcbrcEntries :: Lens' ProductsCustomBatchRequest [ProductsCustomBatchRequestEntry] Source

The request entries to be processed in the batch.

OrdersCustomBatchRequestEntryReturnLineItem

ordersCustomBatchRequestEntryReturnLineItem :: OrdersCustomBatchRequestEntryReturnLineItem Source

Creates a value of OrdersCustomBatchRequestEntryReturnLineItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

OrdersCustomBatchRequestEntryUpdateShipment

ordersCustomBatchRequestEntryUpdateShipment :: OrdersCustomBatchRequestEntryUpdateShipment Source

Creates a value of OrdersCustomBatchRequestEntryUpdateShipment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ocbreusCarrier :: Lens' OrdersCustomBatchRequestEntryUpdateShipment (Maybe Text) Source

The carrier handling the shipment. Not updated if missing.

ocbreusStatus :: Lens' OrdersCustomBatchRequestEntryUpdateShipment (Maybe Text) Source

New status for the shipment. Not updated if missing.

ocbreusTrackingId :: Lens' OrdersCustomBatchRequestEntryUpdateShipment (Maybe Text) Source

The tracking id for the shipment. Not updated if missing.

DatafeedStatus

data DatafeedStatus Source

The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.

See: datafeedStatus smart constructor.

datafeedStatus :: DatafeedStatus Source

Creates a value of DatafeedStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dsItemsTotal :: Lens' DatafeedStatus (Maybe Word64) Source

The number of items in the feed that were processed.

dsKind :: Lens' DatafeedStatus Text Source

Identifies what kind of resource this is. Value: the fixed string "content#datafeedStatus".

dsWarnings :: Lens' DatafeedStatus [DatafeedStatusError] Source

The list of errors occurring in the feed.

dsDatafeedId :: Lens' DatafeedStatus (Maybe Word64) Source

The ID of the feed for which the status is reported.

dsProcessingStatus :: Lens' DatafeedStatus (Maybe Text) Source

The processing status of the feed.

dsLastUploadDate :: Lens' DatafeedStatus (Maybe Text) Source

The last date at which the feed was uploaded.

dsItemsValid :: Lens' DatafeedStatus (Maybe Word64) Source

The number of items in the feed that were valid.

dsErrors :: Lens' DatafeedStatus [DatafeedStatusError] Source

The list of errors occurring in the feed.

DatafeedstatusesCustomBatchRequest

datafeedstatusesCustomBatchRequest :: DatafeedstatusesCustomBatchRequest Source

Creates a value of DatafeedstatusesCustomBatchRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

AccountShippingLocationGroup

accountShippingLocationGroup :: AccountShippingLocationGroup Source

Creates a value of AccountShippingLocationGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aslgCountry :: Lens' AccountShippingLocationGroup (Maybe Text) Source

The CLDR territory code of the country in which this location group is.

aslgLocationIds :: Lens' AccountShippingLocationGroup [Int64] Source

A location ID (also called criteria ID) representing administrative areas, smaller country subdivisions (counties), or cities.

aslgPostalCodeRanges :: Lens' AccountShippingLocationGroup [AccountShippingPostalCodeRange] Source

A postal code range representing a city or a set of cities.

aslgName :: Lens' AccountShippingLocationGroup (Maybe Text) Source

The name of the location group.

aslgPostalCodes :: Lens' AccountShippingLocationGroup [Text] Source

A postal code representing a city or a set of cities. - A single postal code (e.g., 12345) - A postal code prefix followed by a star (e.g., 1234*)

AccountStatusDataQualityIssue

accountStatusDataQualityIssue :: AccountStatusDataQualityIssue Source

Creates a value of AccountStatusDataQualityIssue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asdqiSubmittedValue :: Lens' AccountStatusDataQualityIssue (Maybe Text) Source

Submitted value that causes the issue.

asdqiCountry :: Lens' AccountStatusDataQualityIssue (Maybe Text) Source

Country for which this issue is reported.

asdqiDisplayedValue :: Lens' AccountStatusDataQualityIssue (Maybe Text) Source

Actual value displayed on the landing page.

asdqiNumItems :: Lens' AccountStatusDataQualityIssue (Maybe Word32) Source

Number of items in the account found to have the said issue.

asdqiLastChecked :: Lens' AccountStatusDataQualityIssue (Maybe Text) Source

Last time the account was checked for this issue.

ProductShippingDimension

productShippingDimension :: ProductShippingDimension Source

Creates a value of ProductShippingDimension with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

psdValue :: Lens' ProductShippingDimension (Maybe Double) Source

The dimension of the product used to calculate the shipping cost of the item.

psdUnit :: Lens' ProductShippingDimension (Maybe Text) Source

The unit of value. Acceptable values are: - "cm" - "in"

DatafeedsCustomBatchResponseEntry

datafeedsCustomBatchResponseEntry :: DatafeedsCustomBatchResponseEntry Source

Creates a value of DatafeedsCustomBatchResponseEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dcbrecDatafeed :: Lens' DatafeedsCustomBatchResponseEntry (Maybe Datafeed) Source

The requested data feed. Defined if and only if the request was successful.

dcbrecErrors :: Lens' DatafeedsCustomBatchResponseEntry (Maybe Errors) Source

A list of errors defined if and only if the request failed.

dcbrecBatchId :: Lens' DatafeedsCustomBatchResponseEntry (Maybe Word32) Source

The ID of the request entry this entry responds to.

OrdersCustomBatchRequestEntryRefund

ordersCustomBatchRequestEntryRefund :: OrdersCustomBatchRequestEntryRefund Source

Creates a value of OrdersCustomBatchRequestEntryRefund with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

DatafeedstatusesListResponse

datafeedstatusesListResponse :: DatafeedstatusesListResponse Source

Creates a value of DatafeedstatusesListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dlrlNextPageToken :: Lens' DatafeedstatusesListResponse (Maybe Text) Source

The token for the retrieval of the next page of datafeed statuses.

dlrlKind :: Lens' DatafeedstatusesListResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#datafeedstatusesListResponse".

ProductsListResponse

productsListResponse :: ProductsListResponse Source

Creates a value of ProductsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

plrlNextPageToken :: Lens' ProductsListResponse (Maybe Text) Source

The token for the retrieval of the next page of products.

plrlKind :: Lens' ProductsListResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#productsListResponse".

AccountAdwordsLink

accountAdwordsLink :: AccountAdwordsLink Source

Creates a value of AccountAdwordsLink with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aalStatus :: Lens' AccountAdwordsLink (Maybe Text) Source

Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either active if it was approved in Google AdWords or pending if it's pending approval. Upon insertion, it represents the intended status of the link. Re-uploading a link with status active when it's still pending or with status pending when it's already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status inactive is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.

aalAdwordsId :: Lens' AccountAdwordsLink (Maybe Word64) Source

Customer ID of the AdWords account.

OrderCancellation

orderCancellation :: OrderCancellation Source

Creates a value of OrderCancellation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ocQuantity :: Lens' OrderCancellation (Maybe Word32) Source

The quantity that was canceled.

ocActor :: Lens' OrderCancellation (Maybe Text) Source

The actor that created the cancellation.

ocReason :: Lens' OrderCancellation (Maybe Text) Source

The reason for the cancellation.

ocCreationDate :: Lens' OrderCancellation (Maybe Text) Source

Date on which the cancellation has been created, in ISO 8601 format.

ocReasonText :: Lens' OrderCancellation (Maybe Text) Source

The explanation of the reason.

OrdersCustomBatchResponse

ordersCustomBatchResponse :: OrdersCustomBatchResponse Source

Creates a value of OrdersCustomBatchResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ordEntries :: Lens' OrdersCustomBatchResponse [OrdersCustomBatchResponseEntry] Source

The result of the execution of the batch requests.

ordKind :: Lens' OrdersCustomBatchResponse Text Source

Identifies what kind of resource this is. Value: the fixed string "content#ordersCustomBatchResponse".