Skip to content

Commit 62508d1

Browse files
committed
Updated from hugo - reflecting updates to the API
1 parent 297933e commit 62508d1

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

docs/apidocs/models/order/index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,12 +380,27 @@ <h5>Methods:</h5>
380380
ids on your system, so you do not need to retrieve them from the API
381381
each time you want to create a new order.
382382
</p>
383+
<p>
384+
Method addProductBySKU() is the same as addProduct(), but you only
385+
need the MyCloud SKU of the product. This allows you to keep a list of product
386+
MyCloud SKUs on your system, so you do not need to retrieve them from the API
387+
each time you want to create a new order.
388+
</p>
389+
<p>
390+
Method addProductByShopSKU() is the same as addProduct(), but you only
391+
need the Shop SKU of the product. The Shop SKU is the SKU number that
392+
your shop has assigned to the product. This allows you to keep a list of product
393+
SKUs on your system, so you do not need to retrieve them from the API
394+
each time you want to create a new order.
395+
</p>
383396
<h5>Methods:</h5>
384397
<div class="methods">
385398
array getOrderItems()<br/>
386399
object addOrderItem( object OrderItem )
387400
object addProduct( object Product )
388401
object addProductById( integer )
402+
object addProductBySKU( string )
403+
object addProductByShopSKU( string )
389404
</div>
390405
</dd>
391406
</dl>
@@ -441,6 +456,10 @@ <h5>Returns:</h5>
441456
of an order item already attached to this order), or
442457
created (when the order id has no id). The same behavior
443458
(update or create) will happen for Customer and DeliveryMode.
459+
NOTE You cannot change the status of an order after it
460+
has entered the "picking" stage of the order processing.
461+
Once the order has started the picking stage, all attempts
462+
to update the order status will be rejected with an error.
444463
<h5>Returns:</h5>
445464
<div class="methods">
446465
The Order object that was updated.

docs/apidocs/models/product/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ <h5>Returns:</h5>
153153
Delete an existing product.
154154
The Product object that you use to call this method
155155
<em>requires</em> a valid id to identiy the product that
156-
will be deleted.
156+
will be deleted. NOTE You cannot delete a product that
157+
has inventory. Only products that have zero
158+
"physical inventory" can be deleted with this call.
157159
<h5>Returns:</h5>
158160
<div class="methods">
159161
The Product object that was deleted.

0 commit comments

Comments
 (0)