Comments (17)
@manhhung1511 next time please create new issue
for your question: I never used that params before, it's not required, but if you need it, you can try API Get Product Attributes
with attribute_type = SALES_PROPERTY
api detail here: https://partner.tiktokshop.com/doc/page/262796
from tiktokshop-php.
@nVuln you can also see api updates https://partner.tiktokshop.com/doc/page/262783#Request%20Parameters
from tiktokshop-php.
is their img_data
param allowed image URL as input ?
from tiktokshop-php.
sure, you can try it with the following link image https://images.pexels.com/photos/206359/pexels-photo-206359.jpeg
from tiktokshop-php.
I just looked into api document and I don't see anything about this
btw, thanks for your information, let me try it
from tiktokshop-php.
okey, thanks too
from tiktokshop-php.
@febrihidayan I just tested it, param img_data
not allowed url, always got error upload file is invalid
could you re-produce how to upload image by using url ?
from tiktokshop-php.
i did it like this and it worked
from tiktokshop-php.
from tiktokshop-php.
@febrihidayan that mean we handled image URL on our backend, tiktokshop api not handled it
let see what I can do to support it, thanks for your information
from tiktokshop-php.
Hi, I need your support. I create product and need these 2 parameters. Do you know where I can get it? Thank you very much
from tiktokshop-php.
Sorry, I use sanbox app. I call API create product. And it's required. Can you tell me where is wrong?
from tiktokshop-php.
Can you demo help me pass parameters to create products? Thank you very much
from tiktokshop-php.
@manhhung1511 did you tried api Product
->Get Attributes
?
from tiktokshop-php.
Yes, but not type = 2 (SALES_PROPERTY), only type = 3. Parameters category_id = the last id of the category.
from tiktokshop-php.
@nVuln Help me!
from tiktokshop-php.
@nVuln Help me!
I don't know why you unable to find product attributes
with attribute_type = 2 /* SALES_PROPERTY */
I just picked random category multiple time and get attributes
of that category and it's always give me attributes with attribute_type = 2
also filled that attributes id / custom value to product data and creation successfully
all progress on sandbox environment
PR #4 resolved this issue so I'll close it
if you need more help please create new issue with more detail, your sample code, error response ...etc...
from tiktokshop-php.
Related Issues (16)
- Create product with parameter error HOT 2
- getBrand HOT 1
- Get Authorization Duration HOT 2
- Fatal error: Uncaught Error: Class 'EcomPHP\TiktokShop\Auth' not found HOT 3
- param create_time_ge type invalid,actual type is:string,expected type is:int64 HOT 4
- uploadProductImage - unsupported Media Type HOT 6
- Create product api HOT 1
- Fulfillment.php - markPackageAsShipped HOT 4
- updateShopWebhook HOT 3
- "JSON Parsing Error Using $auth->getToken()" HOT 1
- detail:shop_id is invalid HOT 3
- Cannot install on other projects which require guzzle 6.x HOT 2
- cannot call $client->CustomerService->getConversations() HOT 2
- Fatal error: Uncaught Error: Class "EcomPHP\TiktokShop\Client" not found HOT 1
- auth้พๆฅ้ฎ้ข HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktokshop-php.