To help you get started with web service, here's a little memo of techniques used in this tutorial.
Method parameters
REST
Method
url
resource
id
xml
C
POST
add
X
R
GET
get
U
UPDATE
edit
D
DELETE
delete
If the URL parameter is specified, no other setting can be used and vice versa.
Key
Key suffix
prefix
Value
Suffix
Description
display
[field1,field2 …]
Only display fields in brackets
full
Display all fields
filter
[field]
[value1
[value2]
Filter "field" with value between "value1" and "value2"
[value]
Filter field with the value "value"
[value1,value2…]
Filter fields for values specified between brackets
%
Filter "columns" for values containing "value"
sort
[field1_ASC,field2_DESC,field3_ASC]
Sort by field with the suffix _ASC _DESC or in the order
show all fields
limit
Number
Limit the result to "Number"
Starting index, Number
Limit the result to "Number" from the "Index"
In order to use web services in when the multistore feature is enabled, you simply have to add the id_shop parameter.
id_shop
The shops entity enables you to access to the list of shops as well as their associated identifiers.
shops
Shop ID
Define the shop to be used as a context for the web service.
Last updated 5 years ago
Was this helpful?