Webshippy API EN
  • Introduction
  • Webshippy API Guide
    • Order API
    • Product API
    • Inventory Transfer API
    • External Inventory API
    • GetStock API
    • Get Brack History API
    • Create Bundle API
    • Marketplace Price Change API
    • Marketplace Transaction API
    • Shipping Mode API
    • Push API
    • Track Info API
  • External Inventory Feed
Powered by GitBook
On this page
  • Usable API endpoints
  • Authentication - Generating API key
  • API requests briefly

Was this helpful?

Introduction

NextOrder API

Last updated 11 months ago

Was this helpful?

This description demonstrates how the E-commerce services are able to use the Webshippy system. The API supports four main cases.

Usable API endpoints

  • Order synchronisation (generate, modification, delete, query)

  • Product synchronisation (generate, modification, delete, query, stock info)

  • Transfer management (generate, modification, delete, query)

  • With this function you can set stock quantity for products available from external warehouse and name of the external warehouse.

  • : Product inventory data bulk query.

  • : Brack history query.

  • : Create product bundle.

  • : Modification of Marketplace wholesale prices.

  • : This function enables the request of Marketplace transaction details.

  • : The delivery status of orders can be queried.

For safety reasons WSAPI uses HTTPS channel, supports UTF-8 character encoding and is capable to communicate both in XML and JSON formats as well.

  • API XML url: https://app.webshippy.com/wspyapi/{ACTION}/xml

  • API JSON url: https://app.webshippy.com/wspyapi/{ACTION}/json

Where the placeholder {ACTION} is the requested function/action.

Authentication - Generating API key

In the Webshippy Admin's system each Webshippy API is a separate sales channel. In order to have a successful data communication you must have your own API key. So to create it navigate to Settings / Warehouse management page then click on the Webshippy.API button to create a new sales channel. After filling in the basic data the system will generate the API key which is ready for communication.

API requests briefly

API only uses POST methods, and the request field contains the given data either as a JSON or XML String.

An example for a PHP based API request:

$request = '<?xml version="1.0" encoding="UTF-8"?>
<request>
  <apiKey>apiKey</apiKey>
  <filters>
    <lastMod>2018-01-01 00:00:00</lastMod>
  </filters>
</request>';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://app.webshippy.com/wspyapi/GetProduct/xml/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(['request' => $request]));

$result = curl_exec($ch);
Order API:
Product API:
Inventory Transfer API:
External Inventory API:
GetStock API
Get Brack History API
Create Bundle API
Marketplace Price Change API
Marketplace Transaction API
Track Info API