Your store's customization is possible using our V7 webservices. You can see the full documentation here. But first lets see how you can change your store through our API.
Note: In order to customize your store, you always have to send either your store's name or your store's id. Lets assume your store's name is "apps".
You'll also need to send your access token. See Getting authenticated to learn how you can obtain one.
______________________________________________________
Setting your store's access
Example Request
This sets your store's access to private. You can also set it to public or unlisted.
1 |
curl -H 'Content-Type: application/json' |
Setting your store's theme
Example Request
In this example we set your store's theme to orange.
1 |
curl -H 'Content-Type: application/json' |
Additionally you can set your store's theme to one of the possible:
- "default" - "amber" - "black" - "blue-grey" - "brown" - "deep-purple" - "green" - "grey" |
- "indigo" - "light-blue" - "light-green" - "lime" - "orange" - "pink" - "red" - "teal" |
Setting your avatar
You can set your image avatar by setting the store_avatar param. Base64 is supported. Max size is 5MB, min width is 600px, min height is 600px, max width is 10240px and max height is 10240px.
Example Request
1 |
curl -X POST 'http://ws75-primary.aptoide.com/api/7/store/set' \ |
Setting your store's credentials
Example Request
In this example we set your store's username to "aptoider" and your password to "aPt0DAZ0rd".
1 |
curl -H 'Content-Type: application/json' |
Comments
2 comments
Good
merci
Please sign in to leave a comment.