Giter Site home page Giter Site logo

Comments (17)

nVuln avatar nVuln commented on June 10, 2024 1

@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.

febrihidayan avatar febrihidayan commented on June 10, 2024

@nVuln you can also see api updates https://partner.tiktokshop.com/doc/page/262783#Request%20Parameters

from tiktokshop-php.

nVuln avatar nVuln commented on June 10, 2024

is their img_data param allowed image URL as input ?

from tiktokshop-php.

febrihidayan avatar febrihidayan commented on June 10, 2024

sure, you can try it with the following link image https://images.pexels.com/photos/206359/pexels-photo-206359.jpeg

from tiktokshop-php.

nVuln avatar nVuln commented on June 10, 2024

I just looked into api document and I don't see anything about this
Screenshot 2022-12-07 at 4 49 15 PM

btw, thanks for your information, let me try it

from tiktokshop-php.

febrihidayan avatar febrihidayan commented on June 10, 2024

okey, thanks too

from tiktokshop-php.

nVuln avatar nVuln commented on June 10, 2024

@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.

febrihidayan avatar febrihidayan commented on June 10, 2024

i did it like this and it worked
image

from tiktokshop-php.

febrihidayan avatar febrihidayan commented on June 10, 2024

or you can try it like this
image

from tiktokshop-php.

nVuln avatar nVuln commented on June 10, 2024

@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.

manhhung1511 avatar manhhung1511 commented on June 10, 2024

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
image

from tiktokshop-php.

manhhung1511 avatar manhhung1511 commented on June 10, 2024

Sorry, I use sanbox app. I call API create product. And it's required. Can you tell me where is wrong?

from tiktokshop-php.

manhhung1511 avatar manhhung1511 commented on June 10, 2024

Can you demo help me pass parameters to create products? Thank you very much

from tiktokshop-php.

nVuln avatar nVuln commented on June 10, 2024

@manhhung1511 did you tried api Product->Get Attributes ?

from tiktokshop-php.

manhhung1511 avatar manhhung1511 commented on June 10, 2024

Yes, but not type = 2 (SALES_PROPERTY), only type = 3. Parameters category_id = the last id of the category.

from tiktokshop-php.

manhhung1511 avatar manhhung1511 commented on June 10, 2024

@nVuln Help me!

from tiktokshop-php.

nVuln avatar nVuln commented on June 10, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.