All URIs are relative to /v2
Method | HTTP request | Description |
---|---|---|
createPlaygroundOrder | POST /playground/orders | Creates a dummy order on the kaufland playground API environment. |
\Kaufland\Seller\Model\BaseCollectionApiResponseCreatedOrder_ createPlaygroundOrder($body, $storefront)
Creates a dummy order on the kaufland playground API environment.
Create a playground order. THIS ENDPOINT IS ONLY EXPOSED ON THE PLAYGROUND ENVIRONMENT.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Kaufland\Seller\Api\PlaygroundApi(
// 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\CreateCollectionInputUnitsDetails_(); // \Kaufland\Seller\Model\CreateCollectionInputUnitsDetails_ |
$storefront = new \Kaufland\Seller\Model\Storefront(); // \Kaufland\Seller\Model\Storefront | Locale of storefront
try {
$result = $apiInstance->createPlaygroundOrder($body, $storefront);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PlaygroundApi->createPlaygroundOrder: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Kaufland\Seller\Model\CreateCollectionInputUnitsDetails_ | ||
storefront | \Kaufland\Seller\Model\Storefront | Locale of storefront |
\Kaufland\Seller\Model\BaseCollectionApiResponseCreatedOrder_
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]