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
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,7 @@ The `Configuration` class is used to configure the client library. It takes a si
125
125
-`consumerId`: Your Walmart Consumer ID. Required if you are making requests to endpoints that use signature-based auth (see the [Authorization](#authorization) section)
126
126
-`privateKey`: Your Walmart private key. Ditto the requirements for the `consumerId` option.
127
127
-`channelType`: The channel type value you received during onboarding. Required in CA.
128
+
-`partnerId`: Your Walmart Partner ID. Required when using the Supplier APIs.
128
129
-`accessToken`: An instance of `Walmart\AccessToken`, containing an access token and its expiration time. If provided, this will be used instead of the client ID and secret to authenticate API calls, until the token expires. This is useful if you want to reuse an access token that you've already retrieved from Walmart. More details on access token auth [below](#access-token-auth).
129
130
130
131
If you try to instantiate an instance of an API class that is not supported in the country you've specified, an exception will be thrown.
This API allows DSV to update cost for items in bulk.
15
15
@@ -36,12 +36,10 @@ $config = new Walmart\Configuration([
36
36
$api = Walmart::supplier($config)->dSVCost();
37
37
38
38
$feedType = 'cost'; // string | Includes details of each entity in the feed. Do not set this parameter to true.
39
-
$accept = application/json; // string | Specifies the returned data format in the response. Valid values are: application/json multipart/form-data
40
-
$wMPARTNERID = 10001126675; // string | Specifies an account identifier for the supplier. This identifier is provided during Walmart account creation. If this is an API submission made by a third-party service provider, then the identifier is required to correctly associate the submission with the supplier.
41
39
$dsvCostUpdateRequest = new \Walmart\Models\Supplier\US\DSVCost\DsvCostUpdateRequest(); // \Walmart\Models\Supplier\US\DSVCost\DsvCostUpdateRequest | File fields
|**feedType**|**string**| Includes details of each entity in the feed. Do not set this parameter to true. |[default to 'cost']|
55
-
|**accept**|**string**| Specifies the returned data format in the response. Valid values are: application/json multipart/form-data ||
56
-
|**wMPARTNERID**|**string**| Specifies an account identifier for the supplier. This identifier is provided during Walmart account creation. If this is an API submission made by a third-party service provider, then the identifier is required to correctly associate the submission with the supplier. ||
This endpoint requires the following authorization methods:
67
63
68
64
*`signatureScheme`: Request signature authentication. Request signatures are generated using a combination of request info, a timestamp, and your Walmart consumer ID and private key. The signature is passed in the WM_SEC.AUTH_SIGNATURE header. This is always used in tandem with consumer ID authentication (above). When using endpoints that require signature authentication, you must pass the `privateKey` and `consumerId` options to the `Configuration` constructor.
65
+
*`partnerScheme`: Header authentication with your Walmart partner ID, which is passed in the WM_PARTNER.ID header. Required by Supplier API endpoints. When using endpoints that require partner ID authentication, you must pass the `partnerId` option to the `Configuration` constructor.
69
66
*`consumerIdScheme`: Header authentication with your Walmart consumer ID, which is passed in the WM_CONSUMER.ID header. This is always used in tandem with signature authentication (below). When using endpoints that require consumer ID authentication, you must pass the `consumerId` option to the `Configuration` constructor.
70
67
*`accessTokenScheme`: Header authentication with a Walmart access token, which is automatically generated using your Client ID and Client Secret. The token is valid for 15 minutes, and will be passed in the WM_SEC.ACCESS_TOKEN header
0 commit comments