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:

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

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: 

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

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

createrefundinvoice$clj

(createrefundinvoice$ auth parameters body)

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

Required parameters: orderId, merchantId

Optional parameters: none

Body:

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

Required parameters: orderId, merchantId

Optional parameters: none

Body: 

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

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

× close