All URIs are relative to /v2
Method | HTTP request | Description |
---|---|---|
addShipment | POST /shipments | Add a shipment to an order unit which is already marked as sent. |
addShipment($body)
Add a shipment to an order unit which is already marked as sent.
Add a shipment to an order unit which is already marked as sent by providing a carrier code and a tracking number.
Valid values for carrier_code
can be found in the <a href="https://sellerapi.kaufland.com/?page=order-files#carrier-codes\" target="_blank">documentation.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Kaufland\Seller\Api\ShipmentsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \Kaufland\Seller\Model\AddShipmentRequest(); // \Kaufland\Seller\Model\AddShipmentRequest | Request body containing information about a shipment related to an order unit
try {
$apiInstance->addShipment($body);
} catch (Exception $e) {
echo 'Exception when calling ShipmentsApi->addShipment: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Kaufland\Seller\Model\AddShipmentRequest | Request body containing information about a shipment related to an order unit |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]