[Document] Remaining products

1
2
[
{ // ADDED
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The Sample API Response
Module name: available products of a document
Sample view: Response

**Request**
URL: "/api/sale-order/<id>/remaining-products/" which the id is the sale order's ID.
Parameters: { type, updateOfDocID } where type represents the sale order's document type and updateOfDoc is the SO document's index to be updated.
Example URL: /api/sale-order/1/remaining-products/?type=19&updateOfDocID=7
Request Method: GET

3 Responses

unit_discount_type -> unit_discount_display_type
ordered_quantity -> order_quantity
ordered_amount -> order_amount
I changed it back to ordered_quantity and ordered_amount

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.