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: orderId, merchantId

Optional parameters: none

Body:

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

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: orderId, merchantId

Optional parameters: none

Body: 

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

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:

{:refundOnlyOption {:reason string, :description string}, :shipmentInvoices [{:invoiceSummary InvoiceSummary, :lineItemInvoices [ShipmentInvoiceLineItemInvoice], :shipmentGroupId string}], :invoiceId string, :returnOption {:description string, :reason string}, :operationId 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: 

{:refundOnlyOption {:reason string, :description string},
 :shipmentInvoices [{:invoiceSummary InvoiceSummary,
                     :lineItemInvoices [ShipmentInvoiceLineItemInvoice],
                     :shipmentGroupId string}],
 :invoiceId string,
 :returnOption {:description string, :reason string},
 :operationId 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