From c19ac477c63d8e2a629eba4c8d65c86b81b54074 Mon Sep 17 00:00:00 2001 From: drlikm <4454449+drlikm@users.noreply.github.com> Date: Tue, 25 Aug 2026 11:34:38 +0200 Subject: [PATCH] [create-pull-request] automated change --- src/Endpoint/EndpointMap.php | 2 +- .../ProformaInvoices/CreateProformaInvoiceFromOrder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Endpoint/EndpointMap.php b/src/Endpoint/EndpointMap.php index f739adce..60381d93 100644 --- a/src/Endpoint/EndpointMap.php +++ b/src/Endpoint/EndpointMap.php @@ -298,7 +298,7 @@ class EndpointMap '/api/orders/batch' => 'Shoptet\Api\Sdk\Php\Endpoint\Orders\OrderBatchInsertion', '/api/orders/gifts' => 'Shoptet\Api\Sdk\Php\Endpoint\OrderGifts\AddOrderGift', '/api/orders/{code}/invoice' => 'Shoptet\Api\Sdk\Php\Endpoint\Invoices\CreateInvoiceFromOrder', - '/api_orders_{code}_proforma-invoice.yaml' => 'Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\CreateProformaInvoiceFromOrder', + '/api/orders/{code}/proforma-invoice' => 'Shoptet\Api\Sdk\Php\Endpoint\ProformaInvoices\CreateProformaInvoiceFromOrder', '/api/proforma-invoices/{code}/invoice' => 'Shoptet\Api\Sdk\Php\Endpoint\Invoices\CreateInvoiceFromProformaInvoice', '/api/proof-payments' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPayment', '/api/proof-payments/order/{code}' => 'Shoptet\Api\Sdk\Php\Endpoint\ProofPayments\CreateProofPaymentByOrderCode', diff --git a/src/Endpoint/ProformaInvoices/CreateProformaInvoiceFromOrder.php b/src/Endpoint/ProformaInvoices/CreateProformaInvoiceFromOrder.php index 90b3ccc4..11246c4a 100644 --- a/src/Endpoint/ProformaInvoices/CreateProformaInvoiceFromOrder.php +++ b/src/Endpoint/ProformaInvoices/CreateProformaInvoiceFromOrder.php @@ -29,6 +29,6 @@ public function getResponseEntityClass(): string public function getEndpoint(): string { - return '/api_orders_{code}_proforma-invoice.yaml'; + return '/api/orders/{code}/proforma-invoice'; } }