Skip to content

GraphQL Overview

Download GraphQL schema

Queries

Overview

Mutations

Overview

Directives

Overview

Objects

Overview

ShopEdge

An edge in a connection.

node
Shop!,non-null

The item of the edge.

Sample
{ "node": { "additionalFields": [ { "__typename": "BooleanAdditionalFieldValue" } ], "approvalDelay": 40, "approvalRate": 40, "banner": "Example String", "businessId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "closedFrom": "Example Custom Scalar", "closedTo": "Example Custom Scalar", "contactInformation": { "__typename": "ShopContactInformation" }, "dateCreated": "Example Custom Scalar", "description": "Example String", "evaluations": { "__typename": "EvaluationConnection" }, "freeShipping": true, "grade": 40, "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "isProfessional": true, "logo": "Example String", "name": "Example String", "offersCount": 40, "orderMessagesResponseDelay": 40, "ordersCount": 40, "producerIdentifiers": [ { "__typename": "ProducerIdentifier" } ], "recyclingPolicy": "Example String", "returnPolicy": { "__typename": "ReturnPolicy" }, "shippings": [ { "__typename": "ShopShippingConfiguration" } ] } }
Referenced in

Shop

Represents a shop.

additionalFields

List of additional fields

approvalDelay

Average time for a shop to accept or refuse an order (in seconds)

approvalRate

Rate of accepted orders

banner

Url of the shop's banner image

businessId
ID!,non-null

Shop internal id

closedFrom

The start date of the closing of the shop

closedTo

The end date of the closing of the shop

contactInformation

Contact information

dateCreated
DateTime!,non-null

Creation date of the shop

description

The description of the shop.

evaluations

Shop's evaluations.

firstafterlastbefore
freeShipping
Boolean!,non-null

Whether or not this shop offers free shipping to customers

grade

Global grade of the shop

id
ID!,non-null

The identifier of the shop

isProfessional
Boolean!,non-null

Whether or not the shop is professional

logo

Url of the shop's logo image

name
String!,non-null

The name of the shop

offersCount
Int!,non-null

Total count of active offers of the shop

orderMessagesResponseDelay

Average time for a shop to answer to an order message (in seconds)

ordersCount
Int!,non-null

Total count of debited orders (or if Pay on Delivery, accepted) of the shop

producerIdentifiers

List of shop’s producer identifiers per Extended Producer Responsibility (EPR) categories. Only available if the operator setting Activate data collection related to circular economy regulations is enabled.

recyclingPolicy

Recycling policy - only available if the operator setting Activate data collection related to circular economy regulations has been enabled.

returnPolicy

Terms of restitution.

All the pair shipping zone / shipping type accepted by the shop

Implements interfaces

Sample
{ "additionalFields": [ { "__typename": "BooleanAdditionalFieldValue" } ], "approvalDelay": 40, "approvalRate": 40, "banner": "Example String", "businessId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "closedFrom": "Example Custom Scalar", "closedTo": "Example Custom Scalar", "contactInformation": { "__typename": "ShopContactInformation" }, "dateCreated": "Example Custom Scalar", "description": "Example String", "evaluations": { "__typename": "EvaluationConnection" }, "freeShipping": true, "grade": 40, "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "isProfessional": true, "logo": "Example String", "name": "Example String", "offersCount": 40, "orderMessagesResponseDelay": 40, "ordersCount": 40, "producerIdentifiers": [ { "__typename": "ProducerIdentifier" } ], "recyclingPolicy": "Example String", "returnPolicy": { "__typename": "ReturnPolicy" }, "shippings": [ { "__typename": "ShopShippingConfiguration" } ] }

ShopContactInformation

Represents a shop contact information

city
String!,non-null

City of the contact

civility

Civility of the contact (Mr, Mrs, Miss or Neutral)

country
CountryCode!,non-null

Code ISO 3166-1 alpha-3 of the contact's country

email
String!,non-null

Email

Fax number

firstname

First name of the contact

lastname
String!,non-null

Last name of the contact

phone

Phone number

phoneSecondary

Secondary phone number

state

State (address) of the contact

street1
String!,non-null

First line of the address of the contact

street2

Second line of the address of the contact

website

Website of the shop

zipCode

Zip code of the contact

Sample
{ "city": "Example String", "civility": "Example String", "country": "Example Custom Scalar", "email": "Example String", "fax": "Example String", "firstname": "Example String", "lastname": "Example String", "phone": "Example String", "phoneSecondary": "Example String", "state": "Example String", "street1": "Example String", "street2": "Example String", "website": "Example String", "zipCode": "Example String" }

ProducerIdentifier

Represents a producer identifier

eprCategoryCode

Extended Producer Responsibility (EPR) category code. Possible values: FR-AGROPACK, FR-ASL, FR-DASRIPAT, FR-DBPS, FR-DDS, FR-DEA, FR-DEEE, FR-DISPMED, FR-DIY, FR-EMBM, FR-GF, FR-JOUETS, FR-LUB, FR-MH, FR-MNU, FR-PA, FR-PAP, FR-PCHIM, FR-PMCB, FR-PNEU, FR-TABAC, FR-TLC, FR-VEHICULE, FR-VHU, DE-BATTG, DE-PACK, DE-WEEE, ES-PACK, ES-GPACK, ES-WEEE

Shop producer identifier

Sample
{ "eprCategoryCode": "Example String", "id": "Example String" }

ShopShippingConfiguration

Represents a shop shipping configuration

additionalFields

List of custom shipping fields for this shipping zone and shipping method

freeAmount

Minimal amount for free shipping

typeCode
String!,non-null

The code of the shipping type

typeLabel
String!,non-null

The label of the shipping type

zoneCode
String!,non-null

The code of the shipping zone

zoneLabel
String!,non-null

The label of the shipping zone

Sample
{ "additionalFields": [ { "__typename": "BooleanAdditionalFieldValue" } ], "freeAmount": 40, "typeCode": "Example String", "typeLabel": "Example String", "zoneCode": "Example String", "zoneLabel": "Example String" }
Referenced in

ReturnPolicy

Represents a shop return policy.

autoAccept

Automatically accept return requests when done during the return window

availableRejectionReasons
[String!],non-null

Available rejection reasons

availableReturnMethods
[String!],non-null

Available return methods

availableReturnReasons
[String!],non-null

Available return reasons

enabled

Whether return feature is supported for the shop

handler

Determine who is responsible to handle returns

returnAddress

Return address

policy

Return policy

window

Return window in days

Sample
{ "autoAccept": true, "availableRejectionReasons": [ "Example String" ], "availableReturnMethods": [ "Example String" ], "availableReturnReasons": [ "Example String" ], "enabled": true, "handler": "Example String", "returnAddress": { "__typename": "ReturnAddress" }, "policy": "Example String", "window": 40 }
Referenced in

ReturnAddress

Represents an address to used for returns

city
String!,non-null

City

country
CountryCode!,non-null

Country ISO code

state

State

street1
String!,non-null

First line of the return address

street2

Second line of the return address

zipCode
String!,non-null

Zip code

Sample
{ "city": "Example String", "country": "Example Custom Scalar", "state": "Example String", "street1": "Example String", "street2": "Example String", "zipCode": "Example String" }

ShoppingCart

errors

List of the errors encountered when computing the shipping fees

orders

List of shipping fees information per order

Sample
{ "errors": [ { "__typename": "ShoppingCartError" } ], "orders": [ { "__typename": "ShoppingCartOrder" } ] }

ShoppingCartError

code
String!,non-null

Code of the error that made shipping computation not possible

offerId
ID!,non-null

The id of the offer involved in the error

shippingTypeCode

The selected shipping type code involved in the error

Sample
{ "code": "Example String", "offerId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "shippingTypeCode": "Example String" }
Referenced in

ShoppingCartOrder

channelCode

Channel code supplied when calling the API, or null if no channel code was supplied

currency
Currency!,non-null

Shop currency

leadTimeToShip
Int!,non-null

Order lead time to ship

offers

List of the offers that compose the order

A summary of the promotions applied to the order

selectedShippingType

Shipping type selected for the shop and used to calculate the shipping price for each offers

shippingDeadline
DateTime!,non-null

Estimated shipping date, that includes business closing days and cut-off configured on the platform. Add the earliest and latest delivery times to calculate the estimated delivery date to customers

List of shipping types compatible with all the offers composing the order

Information about the shop

Sample
{ "channelCode": "Example String", "currency": "Example Custom Scalar", "leadTimeToShip": 40, "offers": [ { "__typename": "ShoppingCartLine" } ], "promotions": { "__typename": "ShoppingCartPromotion" }, "selectedShippingType": { "__typename": "SelectedShippingType" }, "shippingDeadline": "Example Custom Scalar", "shippingTypes": [ { "__typename": "ShoppingCartAppliedShippingType" } ], "shop": { "__typename": "ShoppingCartOrderShop" } }
Referenced in

ShoppingCartOrderShop

id
ID!,non-null

Shop identifier

businessId
ID!,non-null

Shop business id

name
String!,non-null

Shop name

shopModel
String!,non-null

Shop model

Sample
{ "id": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "businessId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "name": "Example String", "shopModel": "Example String" }
Referenced in

Interfaces

Overview

Unions

Overview

Inputs

Overview

Scalars

Overview