Skip to content

Releases: printful/php-api-sdk

OAuth2 Tokens

15 Sep 08:51
117fff7
Compare
Choose a tag to compare

In this release, you'll be able to make requests using the new OAuth2 tokens.

Legacy keys will be phased out on September 30th, 2022.

Products API

22 Sep 13:37
da89ff8
Compare
Choose a tag to compare

You can now use Products API with our SDK. Refer to our API docs for more insights at https://www.printful.com/docs/products

Added orientation parameter for mockup generator print file retrieval method.

03 Jan 11:04
Compare
Choose a tag to compare

You now can retrieve print files in a specific orientation (just like for templates) if that product supports multiple orientations (e.g. wall art).

Option to retrieve specific orientation templates for wall art.

10 Oct 09:51
Compare
Choose a tag to compare

You can now retrieve templates wall art in specific orientation - horizontal or vertical.
New field added: \Printful\Structures\Generator\Templates\TemplateItem::$orientation

\Printful\PrintfulMockupGenerator::getProductTemplates signature changed to include an optional orientation parameter.

MockupExtraItem will include option and optionGroup fields.

16 Sep 14:10
Compare
Choose a tag to compare
v2.2.7

MockupExtraItem will include group and option group.

Webhook list updated

05 Nov 12:38
Compare
Choose a tag to compare

New webhook types:

    /** Is called when order is put on hold. */
    const TYPE_ORDER_PUT_HOLD = 'order_put_hold';
    /** Is called when order is removed from hold. */
    const TYPE_ORDER_REMOVE_HOLD = 'order_remove_hold';
    /** Is called when a shipment is processed as returned to the fulfillment facility. */
    const TYPE_PACKAGE_RETURNED = 'package_returned';

Mockup generator. Allow setting product options for task

29 Aug 12:28
Compare
Choose a tag to compare
v2.2.5

Mockup Generator. Allow passing product options when creating task.

Method to fetch order costs (order price calculation)

11 Jul 11:33
Compare
Choose a tag to compare

You can now calculate all costs through a method call by passing the same order object that would be used when submitting an actual order.

"Top" placement added (bikinis), tests updated

24 Apr 13:18
Compare
Choose a tag to compare
v2.2.3

Added TOP placement and test for bikini generation.

Minor updates

03 Apr 14:15
Compare
Choose a tag to compare

Embroidery shirt placement.