Skip to content

Releases: printful/php-api-sdk

OAuth2 Tokens

Choose a tag to compare

@ethancarlsson-pf ethancarlsson-pf released this 15 Sep 08:51
117fff7

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

Choose a tag to compare

@rkistaps rkistaps released this 22 Sep 13:37
da89ff8

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.

Choose a tag to compare

@briedis briedis released this 03 Jan 11:04

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.

Choose a tag to compare

@briedis briedis released this 10 Oct 09:51

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.

Choose a tag to compare

@briedis briedis released this 16 Sep 14:10
v2.2.7

MockupExtraItem will include group and option group.

Webhook list updated

Choose a tag to compare

@briedis briedis released this 05 Nov 12:38

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

Choose a tag to compare

@briedis briedis released this 29 Aug 12:28
v2.2.5

Mockup Generator. Allow passing product options when creating task.

Method to fetch order costs (order price calculation)

Choose a tag to compare

@briedis briedis released this 11 Jul 11:33

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

Choose a tag to compare

@briedis briedis released this 24 Apr 13:18
v2.2.3

Added TOP placement and test for bikini generation.

Minor updates

Choose a tag to compare

@briedis briedis released this 03 Apr 14:15

Embroidery shirt placement.