v1

latestOpenAPI 3.1.02026-07-24531573.9 KB
Orders

Update an order

Updates an order with the provided order ID. Used for closing the order and/or changing the shipping address.

put/orders/{id}

Request body

Response

OK

idstring

The ID of the order.

status'fulfilled' | 'unfulfilled'

Current fulfillment status of the order.

paymentStatus'paid' | 'unpaid'

Current payment status of the order (Currently only paid orders are in scope, unpaid is reserved for future use).

installmentsboolean

Returns true if the payment is done in installments.

dateCreatedstring

The date and time for the creation of the order. yyyy-MM-ddTHH:mm:ssZ format is used (e.g., 2022-07-21T13:24:51+0300).

currency'TRY' | 'USD' | 'EUR'

Currency of the order.

paymentMethod'debitCard' | 'creditCard'

Buyer's method of payment.

notestring

Buyer's order note.