All URIs are relative to https://openapi.alipay.com
Method | HTTP request | Description |
---|---|---|
batchquery | POST /v3/alipay/open/instantdelivery/merchantshop/batchquery | 即时配送商家门店分页查询 |
create | POST /v3/alipay/open/instantdelivery/merchantshop/create | 即时配送商家门店创建 |
modify | POST /v3/alipay/open/instantdelivery/merchantshop/modify | 即时配送商家门店更新 |
query | GET /v3/alipay/open/instantdelivery/merchantshop/query | 即时配送商家门店详情查询 |
AlipayOpenInstantdeliveryMerchantshopBatchqueryResponseModel batchquery(alipayOpenInstantdeliveryMerchantshopBatchqueryModel)
即时配送商家门店分页查询
即时配送场景,商家门店信息分页查询
// Import classes:
import com.alipay.v3.ApiClient;
import com.alipay.v3.ApiException;
import com.alipay.v3.Configuration;
import com.alipay.v3.util.*;
import com.alipay.v3.api.models.*;
import com.alipay.v3.api.AlipayOpenInstantdeliveryMerchantshopApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://openapi.alipay.com");
// 设置alipayConfig参数(全局设置一次)
AlipayConfig config = new AlipayConfig();
config.setAppId("app_id");
config.setPrivateKey("private_key");
config.setAlipayPublicKey("alipay_public_key");
config.setEncryptKey("encrypt_key");
defaultClient.setAlipayConfig(config);
AlipayOpenInstantdeliveryMerchantshopApi apiInstance = new AlipayOpenInstantdeliveryMerchantshopApi(defaultClient);
AlipayOpenInstantdeliveryMerchantshopBatchqueryModel alipayOpenInstantdeliveryMerchantshopBatchqueryModel = new AlipayOpenInstantdeliveryMerchantshopBatchqueryModel(); // AlipayOpenInstantdeliveryMerchantshopBatchqueryModel |
try {
AlipayOpenInstantdeliveryMerchantshopBatchqueryResponseModel result = apiInstance.batchquery(alipayOpenInstantdeliveryMerchantshopBatchqueryModel);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AlipayOpenInstantdeliveryMerchantshopApi#batchquery");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
alipayOpenInstantdeliveryMerchantshopBatchqueryModel | AlipayOpenInstantdeliveryMerchantshopBatchqueryModel | [optional] |
AlipayOpenInstantdeliveryMerchantshopBatchqueryResponseModel
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | common response | - |
0 | 请求失败 | - |
AlipayOpenInstantdeliveryMerchantshopCreateResponseModel create(alipayOpenInstantdeliveryMerchantshopCreateModel)
即时配送商家门店创建
帮商家在即时配送公司创建门店。名称+地址必须全局唯一;pid下的shopNo必须唯一。
// Import classes:
import com.alipay.v3.ApiClient;
import com.alipay.v3.ApiException;
import com.alipay.v3.Configuration;
import com.alipay.v3.util.*;
import com.alipay.v3.api.models.*;
import com.alipay.v3.api.AlipayOpenInstantdeliveryMerchantshopApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://openapi.alipay.com");
// 设置alipayConfig参数(全局设置一次)
AlipayConfig config = new AlipayConfig();
config.setAppId("app_id");
config.setPrivateKey("private_key");
config.setAlipayPublicKey("alipay_public_key");
config.setEncryptKey("encrypt_key");
defaultClient.setAlipayConfig(config);
AlipayOpenInstantdeliveryMerchantshopApi apiInstance = new AlipayOpenInstantdeliveryMerchantshopApi(defaultClient);
AlipayOpenInstantdeliveryMerchantshopCreateModel alipayOpenInstantdeliveryMerchantshopCreateModel = new AlipayOpenInstantdeliveryMerchantshopCreateModel(); // AlipayOpenInstantdeliveryMerchantshopCreateModel |
try {
AlipayOpenInstantdeliveryMerchantshopCreateResponseModel result = apiInstance.create(alipayOpenInstantdeliveryMerchantshopCreateModel);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AlipayOpenInstantdeliveryMerchantshopApi#create");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
alipayOpenInstantdeliveryMerchantshopCreateModel | AlipayOpenInstantdeliveryMerchantshopCreateModel | [optional] |
AlipayOpenInstantdeliveryMerchantshopCreateResponseModel
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | common response | - |
0 | 请求失败 | - |
AlipayOpenInstantdeliveryMerchantshopModifyResponseModel modify(alipayOpenInstantdeliveryMerchantshopModifyModel)
即时配送商家门店更新
帮商家更新在即时配送公司的门店
// Import classes:
import com.alipay.v3.ApiClient;
import com.alipay.v3.ApiException;
import com.alipay.v3.Configuration;
import com.alipay.v3.util.*;
import com.alipay.v3.api.models.*;
import com.alipay.v3.api.AlipayOpenInstantdeliveryMerchantshopApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://openapi.alipay.com");
// 设置alipayConfig参数(全局设置一次)
AlipayConfig config = new AlipayConfig();
config.setAppId("app_id");
config.setPrivateKey("private_key");
config.setAlipayPublicKey("alipay_public_key");
config.setEncryptKey("encrypt_key");
defaultClient.setAlipayConfig(config);
AlipayOpenInstantdeliveryMerchantshopApi apiInstance = new AlipayOpenInstantdeliveryMerchantshopApi(defaultClient);
AlipayOpenInstantdeliveryMerchantshopModifyModel alipayOpenInstantdeliveryMerchantshopModifyModel = new AlipayOpenInstantdeliveryMerchantshopModifyModel(); // AlipayOpenInstantdeliveryMerchantshopModifyModel |
try {
AlipayOpenInstantdeliveryMerchantshopModifyResponseModel result = apiInstance.modify(alipayOpenInstantdeliveryMerchantshopModifyModel);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AlipayOpenInstantdeliveryMerchantshopApi#modify");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
alipayOpenInstantdeliveryMerchantshopModifyModel | AlipayOpenInstantdeliveryMerchantshopModifyModel | [optional] |
AlipayOpenInstantdeliveryMerchantshopModifyResponseModel
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | common response | - |
0 | 请求失败 | - |
AlipayOpenInstantdeliveryMerchantshopQueryResponseModel query(shopNo)
即时配送商家门店详情查询
即时配送场景,查询商家门店详情信息。
// Import classes:
import com.alipay.v3.ApiClient;
import com.alipay.v3.ApiException;
import com.alipay.v3.Configuration;
import com.alipay.v3.util.*;
import com.alipay.v3.api.models.*;
import com.alipay.v3.api.AlipayOpenInstantdeliveryMerchantshopApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://openapi.alipay.com");
// 设置alipayConfig参数(全局设置一次)
AlipayConfig config = new AlipayConfig();
config.setAppId("app_id");
config.setPrivateKey("private_key");
config.setAlipayPublicKey("alipay_public_key");
config.setEncryptKey("encrypt_key");
defaultClient.setAlipayConfig(config);
AlipayOpenInstantdeliveryMerchantshopApi apiInstance = new AlipayOpenInstantdeliveryMerchantshopApi(defaultClient);
String shopNo = "1000"; // String | 商家门店编码。
try {
AlipayOpenInstantdeliveryMerchantshopQueryResponseModel result = apiInstance.query(shopNo);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AlipayOpenInstantdeliveryMerchantshopApi#query");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
shopNo | String | 商家门店编码。 | [optional] |
AlipayOpenInstantdeliveryMerchantshopQueryResponseModel
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | common response | - |
0 | 请求失败 | - |