curl --location -g --request GET 'https://.enerpize.com/api2/stock_transactions/' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"code": 200,
"result": "successful",
"data": {
"StockTransaction": {
"type": "string",
"properties": {
"id": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true
},
"product_id": {
"type": "string",
"format": "string",
"description": "string"
},
"transaction_type": {
"type": "string",
"description": "string",
"enum": [
"string"
],
"examples": [
0
]
},
"transaction_category_id": {
"type": [
"string"
],
"description": "string",
"deprecated": true,
"default": null
},
"source_type": {
"type": "string",
"description": "string",
"enum": [
"string"
],
"readOnly": true,
"examples": [
0
]
},
"date": {
"type": "string",
"format": "string",
"description": "string",
"examples": [
"string"
]
},
"order_id": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true
},
"ref_id": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true,
"default": 0,
"examples": [
0
]
},
"status": {
"type": "string",
"description": "string",
"enum": [
"string"
],
"readOnly": true,
"examples": [
0
]
},
"received_date": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true,
"examples": [
"string"
]
},
"quantity": {
"type": "string",
"format": "string",
"description": "string"
},
"currency_code": {
"type": "string",
"maxLength": "string",
"description": "string",
"examples": [
"string"
]
},
"price": {
"type": "string",
"format": "string",
"description": "string"
},
"price_without_tax": {
"type": "string",
"format": "string",
"description": "string"
},
"added_by": {
"type": "string",
"format": "string",
"description": "string",
"default": 0,
"examples": [
0
]
},
"ignored": {
"type": "string",
"description": "string"
},
"ignored_date": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true,
"examples": [
"string"
]
},
"balance_to_date": {
"type": "string",
"format": "string",
"description": "string",
"default": 0,
"readOnly": true
},
"notes": {
"type": [
"string"
],
"description": "string",
"default": null
},
"stock_transfer_id": {
"type": "string",
"format": "string",
"description": "string"
},
"store_id": {
"type": "string",
"format": "string",
"description": "string",
"default": "string",
"examples": [
0
]
},
"description": {
"type": "string",
"description": "string"
},
"created": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true,
"examples": [
"string"
]
},
"modified": {
"type": "string",
"format": "string",
"description": "string",
"readOnly": true,
"examples": [
"string"
]
},
"discount": {
"type": "string",
"format": "string",
"description": "string"
},
"purchase_price": {
"type": "string",
"description": "string",
"default": 0,
"readOnly": true
},
"purchase_order_ids": {
"type": "string",
"description": "string",
"default": 0,
"readOnly": true,
"deprecated": true
},
"journal_account_id": {
"type": "string",
"description": "string",
"default": 0,
"readOnly": true,
"deprecated": true
},
"fetch_from_raw": {
"type": "string",
"description": "string"
}
},
"required": [
"string"
],
"x-apidog-orders": [
"string"
],
"id": 0,
"product_id": 0,
"transaction_type": "1 => IN",
"transaction_category_id": null,
"source_type": "1 => Manual",
"date": "2018-05-10 00:42:00",
"order_id": 0,
"ref_id": 0,
"status": "1 => Draft",
"received_date": "2018-05-10 00:42:00",
"quantity": 0,
"currency_code": "USD",
"price": 0,
"price_without_tax": 0,
"added_by": 0,
"ignored": true,
"ignored_date": "2018-05-10 00:42:00",
"balance_to_date": 0,
"notes": null,
"stock_transfer_id": 0,
"store_id": "The invoice store id",
"description": "string",
"created": "2018-05-10 00:42:00",
"modified": "2018-05-12 13:05:06",
"discount": 0,
"purchase_price": 0,
"purchase_order_ids": 0,
"journal_account_id": 0,
"fetch_from_raw": true
}
},
"pagination": {
"prev": "/api2/clients/?page=1",
"next": "/api2/clients/?page=3",
"page": 2,
"page_count": 5,
"total_results": 98
}
}