Liking cljdoc? Tell your friends :D

happygapi.content.orderinvoices

Content API for Shopping: orderinvoices. Manages product items, inventory, and Merchant Center accounts for Google Shopping. See: https://developers.google.com/shopping-contentapi/reference/rest/v2.1/orderinvoices

Content API for Shopping: orderinvoices.
Manages product items, inventory, and Merchant Center accounts for Google Shopping.
See: https://developers.google.com/shopping-contentapi/reference/rest/v2.1/orderinvoices
raw docstring

createchargeinvoice$clj

(createchargeinvoice$ auth parameters body)

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

Required parameters: merchantId, orderId

Optional parameters: none

Body:

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

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

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

Required parameters: merchantId, orderId

Optional parameters: none

Body: 

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

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-contentapi/reference/rest/v2.1/orderinvoices/createrefundinvoice

Required parameters: merchantId, orderId

Optional parameters: none

Body:

{:invoiceId string, :operationId string, :refundOnlyOption {:description string, :reason string}, :returnOption {:description string, :reason string}, :shipmentInvoices [{:invoiceSummary InvoiceSummary, :lineItemInvoices [ShipmentInvoiceLineItemInvoice], :shipmentGroupId 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-contentapi/reference/rest/v2.1/orderinvoices/createrefundinvoice

Required parameters: merchantId, orderId

Optional parameters: none

Body: 

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