Replace invoice

POST /self/{shopId}/invoices/{invoiceId}/replacement

Path parameters

Body

Body

Body

Responses

POST /self/{shopId}/invoices/{invoiceId}/replacement
curl \
 --request POST 'https://dev.sellpass.io/self/{shopId}/invoices/{invoiceId}/replacement' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"partInvoiceId":42,"quantity":42}'
curl \
 --request POST 'https://dev.sellpass.io/self/{shopId}/invoices/{invoiceId}/replacement' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request POST 'https://dev.sellpass.io/self/{shopId}/invoices/{invoiceId}/replacement' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/*+json"
Request examples
{
  "partInvoiceId": 42,
  "quantity": 42
}
Request examples
{
  "partInvoiceId": 42,
  "quantity": 42
}
Request examples
{
  "partInvoiceId": 42,
  "quantity": 42
}