We are using Shippingbo as WMS
I want to retrieve a list of slots for a specific product
So, I tried to request SlotContent: https://app.shippingbo.com/slot_contents?search[product_id__eq]=16794293 but it doesn't work
Is any other solution ?
There is an easy way to do this, you juste have to request the warehouse_slots endpoint
curl --request GET \
--url https://app.shippingbo.com/warehouse_slots?search[product_id__eq][]=21890886 \
--header 'Content-Type: application/json' \
--header 'X-API-TOKEN: ' \
--header 'X-API-USER: ' \
--header 'X-API-USER-ID: ' \
--header 'X-API-VERSION: '
Related
Is there a way to find customers with a non-blank tax_exempt_category? I can see that it's a returned value, but I can't see a way to query or filter by it and I don't want to have to process all customers.
Here is a CURL request to get all customers with TAX exempt code "EXeMPT" -
curl --location --request GET 'https://api.bigcommerce.com/stores/[STORE_HASH]/v2/customers?tax_exempt_category=EXeMPT' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'X-Auth-Token: [YOUR_TOKEN]' \ --header 'Authorization: Basic [YOUR_CREDS]'
There is an API.
https://developers.google.com/android-publisher/api-ref/rest/v3/edits.deobfuscationfiles/upload
POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}
Also example with curl:
curl --request POST \
'https://androidpublisher.googleapis.com/androidpublisher/v3/applications/[PACKAGENAME]/edits/[EDITID]/apks/[APKVERSIONCODE]/deobfuscationFiles/[DEOBFUSCATIONFILETYPE]?key=[YOUR_API_KEY]' \
--header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \
--header 'Accept: application/json' \
--compressed
And there is service-api-account.json
How to call API with service json account?
I used the following curl command to receive tweets as well as info of tweets from a specific account:
curl --request POST \
--url https://api.twitter.com/1.1/tweets/search/fullarchive/production.json \
--header 'authorization: Bearer AAAAAAAAAAAAAAAAAAAAAHzE8wAAAAAATpIskAbraT5V0OSNaWKwrt%2Fz99I%3DcS8seKux26Ic3wcNjpAwPVFJ5I055ZuLyYAQNTMsIx55o1nIK5' \
--header 'content-type: application/json' \
--data '{
"query":"from:TwitterDev lang:en",
"maxResults": "100",
"fromDate":"201802010000",
"toDate":"201802282359"
}'
the response I receive is all on one line, my question is how can I separate the line of response based on each tweet received?
How can I get all the data from the bounced emails using API call.
When I use my API call to get data, I only retrieve first 500 records using curl, Can it be possible to get all the data and download in a file.
The command which I am using is as below ... I tried to increase limit of the API call with 501 below was the error ? Can any one let me know how to resolve ?
curl --request GET \
--url https://${API_CALL} \
--header 'accept: application/json' \
--header 'authorization: Bearer ${AUTH_TOKEN}' \
curl --request GET \
--url https://${API_CALL}?limit=501 \
--header 'accept: application/json' \
--header 'authorization: Bearer ${AUTH_TOKEN}' \
{"errors":[{"field":"limit","message":"must be between 0 and 500"}]}
I am trying to do a simple script to change firewall rules on my VM hosting. I used the google API explorer, and the script generated is as follows
curl --request PUT \ 'https://www.googleapis.com/compute/v1/projects/learnstoresg/global/firewalls/intranet2?requestId=00000000-0000-0000-0000-000000000033' \
--header 'Authorization: Bearer [YOUR_BEARER_TOKEN]' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{"allowed":[{"IPProtocol":"TCP","ports":["4033","4016"]}],"sourceRanges":["101.127.7.227"]}' \
--compressed
Anyone has an example of php script for google firewall or can help me convert this CURL statement into a php script?