Orders

Charge a product to an existing order using the payment method already on the order. The charge is processed synchronously.

post/orders/{id}/add-to-order

Path parameters

idinteger required

The SamCart ID for the order

Request body

product_idinteger required

The ID of the product to add to the order. The product must belong to the same marketplace as the order.

Example request

{
  "product_id": 12345
}

Response

Product was charged to the order

Changes

No recorded changes to this endpoint across all 1 revision of this API.