Liking cljdoc? Tell your friends :D

happygapi.content.orderinvoices

Content API for Shopping: orderinvoices. Manage your product listings and accounts for Google Shopping See: https://developers.google.com/shopping-content/v2/api/reference/rest/v2.1/orderinvoices

Content API for Shopping: orderinvoices.
Manage your product listings and accounts for Google Shopping
See: https://developers.google.com/shopping-content/v2/api/reference/rest/v2.1/orderinvoices
raw docstring

createchargeinvoice$clj

(createchargeinvoice$ auth parameters body)

https://developers.google.com/shopping-content/v2/api/reference/rest/v2.1/orderinvoices/createchargeinvoice

Required parameters: merchantId, orderId

Optional parameters: none

Body:

{:invoiceId string, :operationId string, :shipmentGroupId string, :lineItemInvoices [{:lineItemId string, :productId string, :shipmentUnitIds [string], :unitInvoice UnitInvoice}], :invoiceSummary {:productTotal Amount, :additionalChargeSummaries [InvoiceSummaryAdditionalChargeSummary]}}

Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders.

https://developers.google.com/shopping-content/v2/api/reference/rest/v2.1/orderinvoices/createchargeinvoice

Required parameters: merchantId, orderId

Optional parameters: none

Body: 

{:invoiceId string,
 :operationId string,
 :shipmentGroupId string,
 :lineItemInvoices [{:lineItemId string,
                     :productId string,
                     :shipmentUnitIds [string],
                     :unitInvoice UnitInvoice}],
 :invoiceSummary {:productTotal Amount,
                  :additionalChargeSummaries [InvoiceSummaryAdditionalChargeSummary]}}

Creates a charge invoice for a shipment group, and triggers a charge capture for orderinvoice enabled orders.
sourceraw docstring

createrefundinvoice$clj

(createrefundinvoice$ auth parameters body)

https://developers.google.com/shopping-content/v2/api/reference/rest/v2.1/orderinvoices/createrefundinvoice

Required parameters: merchantId, orderId

Optional parameters: none

Body:

{:invoiceId string, :operationId string, :refundOnlyOption {:reason string, :description string}, :shipmentInvoices [{:shipmentGroupId string, :lineItemInvoices [ShipmentInvoiceLineItemInvoice], :invoiceSummary InvoiceSummary}], :returnOption {:reason string, :description string}}

Creates a refund invoice for one or more shipment groups, and triggers a refund for orderinvoice enabled orders. This can only be used for line items that have previously been charged using createChargeInvoice. All amounts (except for the summary) are incremental with respect to the previous invoice.

https://developers.google.com/shopping-content/v2/api/reference/rest/v2.1/orderinvoices/createrefundinvoice

Required parameters: merchantId, orderId

Optional parameters: none

Body: 

{:invoiceId string,
 :operationId string,
 :refundOnlyOption {:reason string, :description string},
 :shipmentInvoices [{:shipmentGroupId string,
                     :lineItemInvoices [ShipmentInvoiceLineItemInvoice],
                     :invoiceSummary InvoiceSummary}],
 :returnOption {:reason string, :description string}}

Creates a refund invoice for one or more shipment groups, and triggers a refund for orderinvoice enabled orders. This can only be used for line items that have previously been charged using `createChargeInvoice`. All amounts (except for the summary) are incremental with respect to the previous invoice.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close