Bu metod ile mağazanızın siparişlerinize ait faturaları yüklemenize olanak tanır.
`https://integration-api.pttavm.com/api/v1/products/get-by-barcodesPOSTApi-Key zorunluaccess-token zorunluContent-Type: application/json
curl '`https://integration-api.pttavm.com/api/v1/orders/{orderId}/invoice' \
--request POST \
--header 'Api-Key: ' \
--header 'Access-Token: ' \
--header 'Content-Type: application/json' \
--data '{
"lineItemId": [
1
],
"content": null,
"url": null
}'
{
"success": true,
"error_Message": null
}
| Parametre | Tür | Açıklama |
|---|---|---|
| lineItemId | array | Mağazadan gelen siparişteki ürün ID'lerini içerir. |
| content | string | Faturanın Base64 verilerini .pdf formatında içerir. (İsteğe bağlı) |
| url | string | Faturanın .pdf formatında url bilgisi |
| Success | boolean | İşlem durum bilgisi |
| Error_Message | string | Hata mesajı |