Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Latest commit

 

History

History
56 lines (36 loc) · 1.49 KB

SalesShipOrderV1Api.md

File metadata and controls

56 lines (36 loc) · 1.49 KB

Swagger\Client\SalesShipOrderV1Api

All URIs are relative to http://t213.vg/rest/default

Method HTTP request Description
salesShipOrderV1ExecutePost POST /V1/order/{orderId}/ship

salesShipOrderV1ExecutePost

int salesShipOrderV1ExecutePost($order_id, $body)

Creates new Shipment for given Order.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\SalesShipOrderV1Api();
$order_id = 56; // int | 
$body = new \Swagger\Client\Model\Body85(); // \Swagger\Client\Model\Body85 | 

try {
    $result = $api_instance->salesShipOrderV1ExecutePost($order_id, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SalesShipOrderV1Api->salesShipOrderV1ExecutePost: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
order_id int
body \Swagger\Client\Model\Body85 [optional]

Return type

int

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]