View Source GoogleApi.Content.V21.Model.OrdersUpdateShipmentRequest (google_api_content v0.66.0)

Attributes

  • carrier (type: String.t, default: nil) - The carrier handling the shipment. Not updated if missing. See shipments[].carrier in the Orders resource representation for a list of acceptable values.
  • deliveryDate (type: String.t, default: nil) - Date on which the shipment has been delivered, in ISO 8601 format. Optional and can be provided only if status is delivered.
  • lastPickupDate (type: String.t, default: nil) - Date after which the pickup will expire, in ISO 8601 format. Required only when order is buy-online-pickup-in-store(BOPIS) and status is ready for pickup.
  • operationId (type: String.t, default: nil) - The ID of the operation. Unique across all operations for a given order.
  • readyPickupDate (type: String.t, default: nil) - Date on which the shipment has been ready for pickup, in ISO 8601 format. Optional and can be provided only if status is ready for pickup.
  • scheduledDeliveryDetails (type: GoogleApi.Content.V21.Model.OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails.t, default: nil) - Delivery details of the shipment if scheduling is needed.
  • shipmentId (type: String.t, default: nil) - The ID of the shipment.
  • status (type: String.t, default: nil) - New status for the shipment. Not updated if missing. Acceptable values are: - "delivered" - "undeliverable" - "readyForPickup"
  • trackingId (type: String.t, default: nil) - The tracking ID for the shipment. Not updated if missing.
  • undeliveredDate (type: String.t, default: nil) - Date on which the shipment has been undeliverable, in ISO 8601 format. Optional and can be provided only if status is undeliverable.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.OrdersUpdateShipmentRequest{
  carrier: String.t() | nil,
  deliveryDate: String.t() | nil,
  lastPickupDate: String.t() | nil,
  operationId: String.t() | nil,
  readyPickupDate: String.t() | nil,
  scheduledDeliveryDetails:
    GoogleApi.Content.V21.Model.OrdersCustomBatchRequestEntryUpdateShipmentScheduledDeliveryDetails.t()
    | nil,
  shipmentId: String.t() | nil,
  status: String.t() | nil,
  trackingId: String.t() | nil,
  undeliveredDate: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.