Skip to main content
All CollectionsWrk Action LibraryPhoton Commerce
Perform an API call in Photon Commerce
Perform an API call in Photon Commerce
Wrk Product avatar
Written by Wrk Product
Updated over 5 months ago

Perform an API call in Photon Commerce. Please refer to the API documentation for more details on configuration.API doc: https://apidocs.photoncommerce.com/

Application

  • Photon Commerce

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Connected Account

The connected account to use for the request

Connected Account

Yes

Endpoint

The URL of the API endpoint to access

Text (Long)

Yes

Method

The HTTP method to be used for the request

Text (Short)

Yes

Request headers

Additional headers to include in the request in JSON format

Text (Long)

No

Request body

The data to be included in the request body

Text (Long)

No

File

A file to be included in the request

File

No

Output response as a file?

Select this as true when your API call returns a file as an output

True/False

No

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Response status code

The HTTP status code returned in the response

Number

No

Response headers

Additional information provided in the response headers

Text (Long)

No

Response body

The main content of the response

Text (Long)

No

outputFile_dataId

Text (Short)

No

Outcomes

Name

Description

Unsuccessful

This status is selected if the job has completed unsuccesfully.

Success

This status is selected if the job has successfuly completed.

Impossible to Complete

This status is selected if the job has encountered an error and has not completed.

Requirements

  • N/A

Did this answer your question?