• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

Object Index

You are viewing an old version of the API
QuantityRatio BETA

A whole number or unreduced fractional ratio.

Properties

Name Description
quantity
integer (32-bit)

The whole or fractional quantity as the numerator.

quantity_denominator
integer (32-bit)

The whole or fractional quantity as the denominator. In the case of fractional quantity this field is the denominator and quantity is the numerator. When unspecified, the value is 1. For example, when quantity=3 and quantity_donominator is unspecified, the quantity ratio is 3 or 3/1.

Share feedback

Thanks for visiting the Square API documentation. What's on your mind?