Action

  • An Action is a follow-up action associated with an order or line item.

  • An Action includes fields such as type, title, an open URL action, and action metadata.

  • The action type is required, and the title is displayed to the user with a maximum length of 100 characters.

  • ActionMetadata is related metadata per action and includes an optional expireTime field.

  • The expireTime field in ActionMetadata is a timestamp in RFC3339 UTC "Zulu" format indicating when the action will expire.

A follow-up action associated with the order or line item.

JSON representation
 { 
 "type" 
 : 
 enum (  Type 
 
) 
 , 
 "title" 
 : 
 string 
 , 
 "openUrlAction" 
 : 
 { 
 object (  OpenUrlAction 
 
) 
 } 
 , 
 "actionMetadata" 
 : 
 { 
 object (  ActionMetadata 
 
) 
 } 
 } 
Fields
type

enum ( Type )

Required: type of action.

title

string

title or label of the action, displayed to the user. Max allowed length is 100 chars.

openUrlAction

object ( OpenUrlAction )

Action to take.

Design a Mobile Site
View Site in Mobile | Classic
Share by: