UpdateOrderItemsRequest

@Serializable
@SerialName(value = "UpdateOrderItemsRequest")
data class UpdateOrderItemsRequest(val orderId: String, val customerId: String = "", val items: List<OrderItemDto>) : AuthenticatedRequest<UpdateOrderItemsRequest> , JsonEncodable

Request data class for updating the items of an order.

Constructors

Link copied to clipboard
constructor(orderId: String, customerId: String = "", items: List<OrderItemDto>)

Properties

Link copied to clipboard

The unique identifier of the customer associated with the order.

Link copied to clipboard

The list of updated order items.

Link copied to clipboard

The unique identifier of the order whose items are to be updated.

Functions

Link copied to clipboard
open override fun addId(userId: String): UpdateOrderItemsRequest
Link copied to clipboard
open override fun toJson(): String