Project

General

Profile

SettingMethod » History » Version 6

Seulki Lee, 05/15/2015 12:16 AM

1 1 Seulki Lee
h1. Setting
2 1 Seulki Lee
3 1 Seulki Lee
----
4 1 Seulki Lee
5 1 Seulki Lee
h1. Get Shipping Method List
6 1 Seulki Lee
7 1 Seulki Lee
This method retrieves a list of shipping method you registered.
8 1 Seulki Lee
9 1 Seulki Lee
h2. Request
10 1 Seulki Lee
11 1 Seulki Lee
|_. Method |_. URI |
12 4 Seulki Lee
| GET | /settings/shipping_methods |
13 1 Seulki Lee
14 1 Seulki Lee
h3. * Parameters
15 1 Seulki Lee
16 1 Seulki Lee
Do not supply a request parameter with this method.
17 1 Seulki Lee
18 1 Seulki Lee
h3. * Request body
19 1 Seulki Lee
20 1 Seulki Lee
Do not supply a request body with this method.
21 1 Seulki Lee
 
22 1 Seulki Lee
23 1 Seulki Lee
h2. Response
24 1 Seulki Lee
25 1 Seulki Lee
If successful, this method returns a list of [[SettingResource#Store-Shipping-Method|shipping method resource]] as "data" in the response body.
26 1 Seulki Lee
27 1 Seulki Lee
h2. Example
28 1 Seulki Lee
29 4 Seulki Lee
* GET /settings/shipping_methods
30 3 Seulki Lee
** Retrieves a list of shipping method you registered.
31 1 Seulki Lee
32 1 Seulki Lee
----
33 1 Seulki Lee
34 1 Seulki Lee
h1. Get Shipping Method
35 1 Seulki Lee
36 2 Seulki Lee
This method retrieves the specified shipping method of your store
37 1 Seulki Lee
38 1 Seulki Lee
h2. Request
39 1 Seulki Lee
40 1 Seulki Lee
|_. Method |_. URI |
41 5 Seulki Lee
| GET | /settings/shipping_methods/{method_id} |
42 1 Seulki Lee
43 1 Seulki Lee
h3. * Parameters
44 1 Seulki Lee
45 1 Seulki Lee
|_. Parameter Name |_. Value |_. Optional |_. Description |
46 1 Seulki Lee
| method_id | Integer | N| The ID of the shipping method to get |
47 1 Seulki Lee
48 1 Seulki Lee
h3. * Request body
49 1 Seulki Lee
50 1 Seulki Lee
Do not supply a request body with this method.
51 1 Seulki Lee
 
52 1 Seulki Lee
53 1 Seulki Lee
h2. Response
54 1 Seulki Lee
55 1 Seulki Lee
If successful, this method returns [[SettingResource#Store-Shipping-Method|shipping method resource]] as "data" in the response body.
56 1 Seulki Lee
57 1 Seulki Lee
h2. Example
58 1 Seulki Lee
59 6 Seulki Lee
* GET /settings/shipping_methods/123
60 1 Seulki Lee
** Retrieves shipping method #123
61 1 Seulki Lee
62 1 Seulki Lee
----
Add picture from clipboard (Maximum size: 24.4 MB)