Skip to content

Order_FirstOrderItem

mauryaratan edited this page Feb 5, 2023 · 1 revision

Order.FirstOrderItem

An object containing first order item from the order.

public struct FirstOrderItem: Codable 

Inheritance

Codable

Properties

orderId

The ID of the order.

public let orderId: Int

productId

The ID of the product.

public let productId: Int

variantId

The ID for the product variant.

public let variantId: Int

productName

The name of the product.

public let productName: String

variantName

The name of the product variant.

public let variantName: String

price

A positive integer in cents representing the price of the order item in the order currency.

public let price: Int

createdAt

An ISO-8601 formatted date-time string indicating when the object was created.

public let createdAt: String

updatedAt

An ISO-8601 formatted date-time string indicating when the object was last updated.

public let updatedAt: String
Types
Global Functions
Clone this wiki locally