UNPKG

@bebapps/rapyd-sdk

Version:

An un-official [Rapyd](https://rapyd.net) SDK for Node.js.

35 lines (34 loc) 1.24 kB
export interface UpdateProductRequest { /** * ID of the product. */ product: string; /** * Indicates whether the product is currently available for purchase. */ active?: boolean; /** * Array of up to 5 alphanumeric strings defined by the merchant. Each string defines the key in a key-value pair in the 'attributes' object in the corresponding 'sku' objects. */ attributes?: string; /** * A JSON object defined by the client. */ metadata?: object; /** * The name of the product or service that is displayed to the customer. */ name?: string; /** * Describes the physical size and weight of the product. Relevant when `type` is *goods*. Contains the following fields: `height` `length` `weight` `width` */ package_dimensions?: string; /** * A text description that appears in the customer's invoice. Limited to 22 characters. Relevant when `type` is **service**. Must be null when `type` is **goods**. */ statement_descriptor?: string; /** * A label that represents units of this product, such as seats, in Rapyd and on customers’ receipts and invoices. Relevant when `type` is **service**. Must be null when `type` is **goods**. */ unit_label?: string; };