View Source GoogleApi.Content.V2.Model.MerchantOrderReturn (google_api_content v0.61.1)

Order return. Production access (all methods) requires the order manager role. Sandbox access does not.


  • creationDate (type: String.t, default: nil) - The date of creation of the return, in ISO 8601 format.
  • merchantOrderId (type: String.t, default: nil) - Merchant defined order ID.
  • orderId (type: String.t, default: nil) - Google order ID.
  • orderReturnId (type: String.t, default: nil) - Order return ID generated by Google.
  • returnItems (type: list(GoogleApi.Content.V2.Model.MerchantOrderReturnItem.t), default: nil) - Items of the return.
  • returnShipments (type: list(GoogleApi.Content.V2.Model.ReturnShipment.t), default: nil) - Shipments of the return.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Content.V2.Model.MerchantOrderReturn{
  creationDate: String.t() | nil,
  merchantOrderId: String.t() | nil,
  orderId: String.t() | nil,
  orderReturnId: String.t() | nil,
  returnItems: [GoogleApi.Content.V2.Model.MerchantOrderReturnItem.t()] | nil,
  returnShipments: [GoogleApi.Content.V2.Model.ReturnShipment.t()] | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.