Is the response for cancelled orders the same as for normal orders, or is there any difference?
Are the dates received from the orders in UTC or retailer time-zone format?
Do we have options to create an order then VOID items/modifiers?
Do we have an option to create a complimentary item for an order?
Are returns and refunds the same or different?
How can we create VOID, CANCELLED, RETURN, REFUND, COMPLIMENTARY-ITEMS orders from the Square POS App? We need these to test all edge cases. Please let us know if any of the orders mentioned above are not applicable.
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
The response for cancelled orders is the same as for normal orders, but the status of the order will be different. In the Order object, the ‘state’ field will be set to ‘CANCELED’ for cancelled orders.
The dates received from the orders are in UTC format. You would need to convert them to the retailer’s time zone if needed.
You can create an order and then void items or modifiers using the Orders API. However, voiding an item or modifier is not directly supported. You would need to update the order to remove or modify the item or modifier.
There isn’t a specific option to create a complimentary item for an order. However, you can create an item with a price of $0 or apply a 100% discount to an item to make it complimentary.
Returns and refunds are different. A return is when a customer returns a product they purchased, and this is tracked in the Order object. A refund is when money is returned to the customer, which is tracked in the PaymentRefund object.
You can create VOID, CANCELLED, RETURN, REFUND, and COMPLIMENTARY-ITEMS orders from the Square Point of Sale (POS) App. For VOID and CANCELLED orders, you would need to create an order and then cancel it. For RETURNS, you would need to create an order, complete the payment, and then process a return. For REFUNDS, you would need to create an order, complete the payment, and then process a refund. For COMPLIMENTARY-ITEMS, you would need to create an order with an item that has a price of $0 or apply a 100% discount to an item.
We are able to create the refund, return and complimentary items from the Sqaure POS application on iPhone. But, how to create void and cancelled order from the application?
For a refund and return order, do we get the modifier quantities from the order response?