This endpoint reference contains an overview of all Ratepay relevant endpoints for the Shopware Admin API.
Shopware 6
/Daily Business
//Shopware Admin API usage (for the Ratepay SW6 module v6.x and below)
Download OpenAPI description
Languages
Servers
http://your_shopware_url/api/
http://your_shopware_url/api/ratepay/order-management/load/{orderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
http://your_shopware_url/api/ratepay/order-management/load/a06c753d068c487991d6a833b4133560 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "success": true, "data": [ { … } ] }
http://your_shopware_url/api/ratepay/order-management/deliver/{orderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'http://your_shopware_url/api/ratepay/order-management/deliver/{orderId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"items": [
{
"id": "a06c753d068c487991d6a833b4133560",
"quantity": 1,
"updateStock": true
}
]
}'http://your_shopware_url/api/ratepay/order-management/cancel/{orderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'http://your_shopware_url/api/ratepay/order-management/cancel/{orderId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"items": [
{
"id": "a06c753d068c487991d6a833b4133560",
"quantity": 1,
"updateStock": true
}
]
}'http://your_shopware_url/api/ratepay/order-management/return/{orderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'http://your_shopware_url/api/ratepay/order-management/return/{orderId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"items": [
{
"id": "a06c753d068c487991d6a833b4133560",
"quantity": 1,
"updateStock": true
}
]
}'http://your_shopware_url/api/ratepay/order-management/addItem/{orderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'http://your_shopware_url/api/ratepay/order-management/addItem/{orderId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"grossAmount": -5,
"name": "Discount for damaged goods",
"taxId": "a06c753d068c487991d6a833b4133560"
}'