There is a bug in the Pwinty documentation. It says POST to v2.1/Orders/{orderId}/Issue in order to create an issue. However, that only returns 404. The correct path seems to be: v2.1/Orders/{orderId}/Issues