You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Authentication Authentication The MyCloud API uses JSON Web Tokens (JWT) for authetication. This stateless authentication protocol is becoming a popular standard for API's for many good technical reasons. Here at MyCloud, we chose JWT because it is straighforward to implement, requires very little overhead, has libraries available in almost every popular programming language, and eliminates the need for state (such as sessions and cookies), which means that it can scale better.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Connection Connection The MyCloud API is a RESTful API implemented using the HTTP protocol. This means that all connections to the API are the same as any other HTTP connection, which is the protocol used by every web browser to access a website. The advantage of the HTTP protocol is that it is a well established standard that is supported by every modern programming language in use today.</description>
<description>Home&nbsp;&gt;&nbsp;API&nbsp;Documentation API Overview Overview Connection Authentication API Overview API Protocol PHP SDK Overview API Models Customer Delivery Mode Order Order Item Product Product Category Shop </description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Customer Customer Model The Customer model represents a customer that is defined for your shop. Model Attributes id Unique numeric ID of the customer. Methods: integer getId() object setId( integer ) address The address of the customer. Methods: string getAddress() object setAddress( string ) code The code that the shop assigned to the customer. Methods: string getCode() object setCode( string ) email The e-mail address of the customer.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Delivery&nbsp;Mode Delivery Mode Model The Delivery Mode model represents a mode of delivery that is defined for your shop. Model Attributes id Unique numeric ID of the delivery mode. Methods: integer getId() object setId( integer ) code The code that the shop assigned to the delivery mode. Methods: string getCode() object setCode( string ) name The name of the delivery mode.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Order&nbsp;Item Order Item Model The Order Item model represents a product that is an item on an order for your shop. For each product that is part of an order, there will be an order item. In other words, order items connect products to orders. Furthermore, an order item also defines the quantity of the product being ordered, as well as the actual price the product is being sold for on that order.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Order Order Model The Order model represents an order placed with your shop. Orders consist of OrderItems, which are the Products that are attached to the order. An order can have a Customer attached to it, but this is not required. And order must have a DeliveryMode attached to it to select the method of shipment. The payment attributes are provided for the customer to indicate to the shop when and how payment was made so the shop can verify payment.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Product&nbsp;Category Product Category Model The Product Category model represents a category that you have defined to group products together. Model Attributes id Unique numeric ID of the category. Methods: integer getId() object setId( integer ) code The code assigned by the shop for this category. Methods: string getCode() object setCode( string ) name The name of the category. Methods: string getName() object setName( string ) API Calls array ProductCategory::all() Get all product categories defined by your shop.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Product Product Model The Product model represents a product that your shop offers for sale. Model Attributes id Unique numeric ID of the product. Methods: integer getId() object setId( integer ) sku The SKU number of this product. Methods: string getSku() object setSku( string ) name The name of the product. Methods: string getName() object setName( string ) description The description of the product.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Shop Shop Model [read-only] The Shop model represents your shop. Note that this model is read-only. You can retrieve your Shop's model to access the information assigned to your shop, but the API does not provide any means for updating the Shop, or to create a new one. Model Attributes id Unique numeric ID of the shop. Methods: integer getId() code The code assigned to the shop by MyCloud.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; API&nbsp;Overview API Overview The MyCloud API is a RESTful API. It is built on top of the HTTP protocol to implement communications with the API server. API Requests Client API requests send their data to the API server using the multipart/form-data specification defined by RFC7578, which is the same standard that web browsers use to submit form data when you submit an HTML &lt;FORM&gt; using the 'multipart/form-data' enctype.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; PHP&nbsp;SDK&nbsp;Overview PHP SDK Overview The MyCloud API PHP SDK provides a complete PHP implementation of the client side the API. With the PHP SDK, you do not need to worry about any of the low level details of programming with the API. Connectivity, authentication, model objects, logging, and other supporting code is all provided for you. When working with the PHP SDK, you will work primarily with the API model objects.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Protocol Protocol The MyCloud API is a RESTful API implemented using the HTTP protocol. Over the HTTP protocol, a communication protocol is utilized to exchange the data necessary to fulfill any API request. The protocol uses two separate standards to implement the data exchange: Upstream: multipart/form-data Downstream: JSON Upstream The upstream data is the data sent from the API client to the API server.</description>
<description>Home&nbsp;&gt; API&nbsp;Documentation&nbsp;&gt; Overview API Overview The MyCloud API is a RESTful API providing access to your MyCloud shop and the data associated with your shop. The current release of the API does not implement access to every element of your shop. It is designedprimarily to facilitate managing your customer, products and orders. Future releases of the API will continue to add more functionality. The API is implemented using standard HTTP connectivity and standard HTTP protocols.</description>
0 commit comments